home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr05 / pdxwn693.zip / MAY93WIN.MSG < prev    next >
Text File  |  1993-06-11  |  464KB  |  13,929 lines

  1.  
  2. #: 25486 S1/Miscellaneous
  3.     03-May-93  02:09:00
  4. Sb: #Runtime
  5. Fm: Randy Spitz (Sysop) 76702,1315
  6. To: ALL
  7.  
  8. First, I want to assure everyone that THERE DEFINITELY WILL BE A PARADOX
  9. FOR WINDOWS RUNTIME; however, I am not at liberty to say when it will
  10. be available.
  11.  
  12. Second, I also want to assure everyone that Borland WILL NOT ABANDON ITS
  13. CUSTOMERS. We understand that there are people out there with
  14. completed applications that need to be delivered. Currently, we are working
  15. on a licensing plan to allow the distribution of completed applications for
  16. the period prior to the release of runtime. The details of this plan are
  17. currently being worked out, and I was told an announcement could be made
  18. within a few weeks. So, don't worry, the day when you can distribute your
  19. application without buying full product for each and every one of your
  20.  
  21. #: 33981 S1/Miscellaneous
  22.     08-Jun-93  21:02:36
  23. Sb: #33305-Runtime
  24. Fm: Robert Ramirez (Sysop) 76702,255
  25. To: Randy Minder 73750,3601 (X)
  26.  
  27. Hello Randy,
  28.  
  29. We have announced The PFW Distribution License.  This license, which is
  30. available through our order line (800-331-0877), allows developers to
  31. distribute PFW  and a special license screen with their application.  You
  32. will receive run time when it is released and be required to redistribute
  33. your apps with run time.
  34.  
  35. ~Robert
  36. Borland Tech. Support
  37.  
  38. #: 31330 S1/Miscellaneous
  39.     27-May-93  15:24:17
  40. Sb: #Form/Password bug?
  41. Fm: Vikram Chandra 72617,2761
  42. To: Borland
  43.  
  44. I get a general protection error consistently when I try and open a form which
  45. has three linked child tables.  Each of the tables has a password and one
  46. auxillary password.  The auxillary password my user wants to use is "*" (an
  47. asterisk).
  48.  
  49. The GPF vanishes if I restructure the tables.  It persists if I just remove
  50. the auxillary passwords.
  51.  
  52. What's going on?
  53.  
  54.         -- Vikram
  55.  
  56. * Reply:  31554
  57.  
  58. #: 31554 S1/Miscellaneous
  59.     28-May-93  12:50:37
  60. Sb: #31330-#Form/Password bug?
  61. Fm: Steve Neverve (Sysop) 71333,114
  62. To: Vikram Chandra 72617,2761 (X)
  63.  
  64. Vikram,
  65.  
  66. Try creating a new, sample form with simple tables and the same type of setup.
  67. Does the problem happen with this new form?  Can you duplicate this error on
  68. another machine?
  69.  
  70. GPF's are memory errors.  They result from memory conflicts.  Try the below
  71. steps to eliminate the GPF's.
  72.  
  73. 1. Add EMMEXCLUDE=A000-C7FF to the 386Enh section of your System.INI.
  74. 2. Remove all memory resident programs from your system.
  75. 3. Refer to TI1283.ZIP for additional information on simplifying your
  76.    system.
  77.  
  78. Steve
  79.  
  80. #: 31342 S1/Miscellaneous
  81.     27-May-93  16:07:05
  82. Sb: #PDOX 3.5 Format
  83. Fm: Anthony Ferrer 71202,523
  84. To: All
  85.  
  86. Greetings,
  87.  
  88. Is there a way to convert Paradox for Win files to Paradox 3.5 format in
  89. Pdox\Win?  It's easy to do in 4.0, but I can't find it in Windows.
  90.  
  91. Thanks,
  92.  
  93. Anthony
  94.  
  95. * Reply:  31555
  96.  
  97. #: 31555 S1/Miscellaneous
  98.     28-May-93  12:50:41
  99. Sb: #31342-PDOX 3.5 Format
  100. Fm: Steve Neverve (Sysop) 71333,114
  101. To: Anthony Ferrer 71202,523 (X)
  102.  
  103. Anthony,
  104.  
  105. You will need to create a Paradox 3.5 file, File | New Table | Paradox 3.5
  106. and borrow the structure from your PDW table.  There is a borrow option in
  107. the lower left corner of the new table dialog box.  The borrow feature
  108. allows you to create a new table with the same structure as an existing
  109. table. Once you have created your 3.5 table, add, (File | Utilities | Add),
  110. the data in the PDW table to the 3.5 table.
  111.  
  112. Steve
  113.  
  114. #: 31344 S1/Miscellaneous
  115.     27-May-93  16:13:40
  116. Sb: #Sys Resource Leak
  117. Fm: Chris Paynter 76300,2451
  118. To: all
  119.  
  120. We have noticed that Paradox for Windows tends to gobble system resources,
  121. especially when repeatedly switching between design and run modes in an
  122. application.  Even after exiting Paradox, the system resources are depleted.
  123. Is there an acknowledged "memory leak" with Paradox, or is there something we
  124. can do to alleviate this problem.  Also, are there known problems with memory
  125. leaks in running Paradox for Windows applications?  We'll be concerned about
  126. this when we go to deploy our apps.
  127.  
  128. Chris.
  129.  
  130. * Reply:  31528
  131.  
  132. #: 31528 S1/Miscellaneous
  133.     28-May-93  12:06:30
  134. Sb: #31344-Sys Resource Leak
  135. Fm: Dan Ehrmann (TeamB) 70007,4644
  136. To: Chris Paynter 76300,2451 (X)
  137.  
  138. Chris:
  139.  
  140. Are you using a floating speedbar?  There is an acknowledged problem with this
  141. config in v1.0.  Try setting the speedbar back to fixed along the top of the
  142. screen.
  143.  
  144.  
  145. [Dan -> ]
  146.  
  147. #: 31353 S4/Forms
  148.     27-May-93  16:50:56
  149. Sb: #Corrupted Forms?
  150. Fm: Quinn Wildman (Sysop) 76703,3033
  151. To: Gary Foster 72720,275 (X)
  152.  
  153. In experimenting with this, I find I have mislead you (because I had someone
  154. that mislead me!).  The limit to the number of field objects, is a limit per
  155. form, not a limit per table, as I had previously indicated.  To get more than
  156. approximately 130 fields, you'll need to use a second form.
  157.  
  158. * Reply:  31415
  159.  
  160. #: 31415 S4/Forms
  161.     27-May-93  20:05:05
  162. Sb: #31353-Corrupted Forms?
  163. Fm: Gary Foster 72720,275
  164. To: Quinn Wildman (Sysop) 76703,3033 (X)
  165.  
  166. FYI: my form has 119 fields.  I finally added the code successfully, but I had
  167. to attach it to a custom method on a page.  It would not let me (it was
  168. corrupted) when I added to a method on the form.  Weird.  I will split the
  169. form in two, and try to add the code.  Thanks for helping.
  170.  
  171. #: 31354 S4/Forms
  172.     27-May-93  16:51:04
  173. Sb: Refreshing UIObjects
  174. Fm: Quinn Wildman (Sysop) 76703,3033
  175. To: David Lambert, DDS 76264,2246 (X)
  176.  
  177. >By the way...what's the difference between issuing the command
  178. >action(datainsertrecord) and the UI object method insertrecord() command?
  179.  
  180. If you have a single table form, there is no difference.  The difference can
  181. be when you have a multitable form, action(datainsertrecord) inserts a record
  182. into the table for the current object. ui.insertrecord() inserts a record into
  183. the table associated with that uiobject, which may not be the current object.
  184.  
  185. #: 31358 S4/Forms
  186.     27-May-93  16:51:28
  187. Sb: #Lkup/Fill Event routine
  188. Fm: Quinn Wildman (Sysop) 76703,3033
  189. To: David Lambert, DDS 76264,2246 (X)
  190.  
  191. What you'll want to do is in the candepart method look for error constant of
  192. peLookupTableErr, and when it occurs, open a tcursor and add the record to the
  193. table.
  194.  
  195. Your code might look like the following:
  196.  
  197. var
  198.  tc tcursor
  199. endvar
  200. dodefault
  201. if eventinfo.id()=peLookupTableErr then
  202.   tc.open("table")
  203.   tc.edit()
  204.   tc.insertrecord()
  205.   tc.field=self.value
  206.   tc.close()
  207. endif
  208. dodefault
  209.  
  210. * Reply:  31472
  211.  
  212. #: 31472 S4/Forms
  213.     28-May-93  03:34:16
  214. Sb: #31358-#Lkup/Fill Event routine
  215. Fm: GARY HANDLEY 100271,1164
  216. To: Quinn Wildman (Sysop) 76703,3033 (X)
  217.  
  218. Quinn,
  219.  
  220. The Fill-in/lookup code is exactly what I have been looking for, the only
  221. thing is I can't egt it to work as you describe, the problem is in the
  222. eventInfo.id(), comes up with paramter mismatch, I tried changing it to
  223. errorcode() = peLookupTableErr and although it compiled, the code didn't
  224. activate when tested. Any ideas?
  225.  
  226. Gary
  227.  
  228. * Reply:  31616
  229.  
  230. #: 31616 S4/Forms
  231.     28-May-93  16:15:42
  232. Sb: #31472-Lkup/Fill Event routine
  233. Fm: Quinn Wildman (Sysop) 76703,3033
  234. To: GARY HANDLEY 100271,1164 (X)
  235.  
  236. Oops, I see I made a mistake in my first message.  Replacing eventinfo.id()
  237. with errorcode() should do what you want.  Did you put the code in candepart?
  238. To you enter a lookupvalue that doesn't exist to see if it works?  Did you use
  239. the try settinng a break point using the debugger and see how and when things
  240. execute?
  241.  
  242. #: 31359 S4/Forms
  243.     27-May-93  16:51:32
  244. Sb: Report Field Alignment
  245. Fm: Quinn Wildman (Sysop) 76703,3033
  246. To: BRUCE E LEANDRO 72731,175 (X)
  247.  
  248. Turn off Design|Fit Width is all the field object and all should line up.  The
  249. easiest way to do this is by first pressing Escape one or more times until no
  250. objects are selected, and then doing Control-Right click anywhere on the
  251. report.
  252.  
  253. #: 31360 S4/Forms
  254.     27-May-93  16:51:36
  255. Sb: #Fly Away
  256. Fm: Quinn Wildman (Sysop) 76703,3033
  257. To: BRUCE E LEANDRO 72731,175 (X)
  258.  
  259. To make detail records not flyaway, attach the following code to the action
  260. method of your detail table:
  261.  
  262. if eventinfo.id()=DataUnlockrecord then
  263.   disabledefault
  264.   self.postrecord()
  265. endif
  266.  
  267. #: 31361 S4/Forms
  268.     27-May-93  16:51:41
  269. Sb: resizing
  270. Fm: Quinn Wildman (Sysop) 76703,3033
  271. To: george kwong 70031,427 (X)
  272.  
  273. >Is there a way to detect when a form is being resized?
  274.  
  275. In the menuaction method for the form look eventinfo.id()=MenuControlSize.
  276. Your code might look like the following:
  277.  
  278. ...
  279. else
  280.     if eventinfo.id()=MenuControlSize then
  281.       ;dosomething
  282.     endif
  283. endif
  284.  
  285. #: 31362 S4/Forms
  286.     27-May-93  16:51:48
  287. Sb: #Lib referencing
  288. Fm: Quinn Wildman (Sysop) 76703,3033
  289. To: Dean A. Gittleman 72360,165 (X)
  290.  
  291. >... What approach must I take in order to use a common library in an
  292. application >such as this (multiple Pdox instances, multiple directories...)?
  293.  
  294. Nothing really special.  Each time you call the library, you need a uses
  295. statement, to open the library, and then to call the method in the library.
  296. The only thing you might to concern yourself with where the library is found.
  297. If it is in a directory pointed to by an alias, then you should be able to
  298. universally refer to the alias.  Below is a very simple example I tried that
  299. works in two different instances of Paradox for Windows:
  300.  
  301. ;In the library
  302. method hello()
  303. msginfo("","hello")
  304. endmethod
  305.  
  306. ;In a pushbutton
  307. Uses ObjectPal
  308.  hello()
  309. EndUses
  310. Method Pushbutton(var Eventinfo Event)
  311. var
  312.   lib library
  313. endvar
  314. if not lib.open(":alias:test") then
  315.   msginfo("","Can't open library")
  316. else
  317.   lib.hello()
  318. endif
  319.  
  320. * Reply:  31489
  321.  
  322. #: 31489 S4/Forms
  323.     28-May-93  09:00:22
  324. Sb: #31362-#Lib referencing
  325. Fm: Dean A. Gittleman 72360,165
  326. To: Quinn Wildman (Sysop) 76703,3033 (X)
  327.  
  328. Quinn,
  329.  
  330. Yes, I found that it works to use an alias to refer to the lib directory.
  331. Additionally, it works to use a *FULL* path to the directory.
  332.  
  333. I prefer to explicitly hard-code drive letters into a network-based
  334. application in order to enhance portability.  I find with PdoxWin, though,
  335. that I *must* include the drive letter in the path in order for the app to
  336. successfully open the lib.
  337.  
  338. Thus, the following does NOT work.
  339.  
  340. Const
  341.   AELib = "\\newsae\\lib\\saelib.lsl" endConst
  342.  
  343. Subsequent calls to open the lib fail.
  344.  
  345. On the other hand, the following works fine.
  346.  
  347. Const
  348.   AELib = "q:\\newsae\\lib\\saelib.lsl" endConst
  349.  
  350. I'm not sure *why* this is the case; maybe something special about having the
  351. two back-slashes immediately after the opening ' " ' char?
  352.  
  353. I think that I'll stick to aliases.
  354.  
  355. Thanks.                                    -Dean-
  356.  
  357. * Reply:  31617
  358.  
  359. #: 31617 S4/Forms
  360.     28-May-93  16:15:45
  361. Sb: #31489-#Lib referencing
  362. Fm: Quinn Wildman (Sysop) 76703,3033
  363. To: Dean A. Gittleman 72360,165 (X)
  364.  
  365. If you supply a directory without a drive, Paradox will assume the drive for
  366. the current working directory. In that you probably don't want to depend on
  367. that, the best thing to do is to use aliases, or including the drive letter.
  368.  
  369. * Reply:  31625
  370.  
  371. #: 31625 S4/Forms
  372.     28-May-93  16:37:48
  373. Sb: #31617-#Lib referencing
  374. Fm: Dean A. Gittleman 72360,165
  375. To: Quinn Wildman (Sysop) 76703,3033 (X)
  376.  
  377. Quinn,
  378.  
  379. Actually, in omitting the drive letter, I was hoping that PdoxWin *would* use
  380. the current working drive.  If it had, the application should have had no
  381. difficulty opening the specified lib.  As it turned out, PdoxWin failed to
  382. open the lib *until* I included the drive designation.
  383.  
  384. Since using aliases provides sufficient portability, I've decided to use that
  385. approach.
  386.  
  387. Thanks, as always, for your help, and happy holiday...I'm outa here!
  388.  
  389. -Dean-
  390.  
  391. * Reply:  32159
  392.  
  393. #: 32159 S4/Forms
  394.     01-Jun-93  15:48:18
  395. Sb: #31625-Lib referencing
  396. Fm: Rick Fillman (Sysop) 76702,273
  397. To: Dean A. Gittleman 72360,165 (X)
  398.  
  399.  > Actually, in omitting the drive letter, I was hoping that PdoxWin
  400.  > *would* use the current working drive.
  401.  
  402. As you've discoverd, that assumtion isn't valid for PdoxWin.  If
  403. you'ld like to use such an assumption, then code it!  You can
  404. determing workDir's drive for yourself by looking at the first
  405. char of thatWhichIsReturned by fileSystem method workingDir()
  406.  
  407.  > Since using aliases provides sufficient portability, I've decided
  408.  > to use that approach.
  409.  
  410. Yep.  Aliases are a better way to go.
  411.  
  412.     Rick Fillman, Tech Support (Borland)
  413.  
  414. #: 31377 S1/Miscellaneous
  415.     27-May-93  17:36:20
  416. Sb: #Corrupted form #$%A@
  417. Fm: Brian Reed (Sysop) 71333,2360
  418. To: Andre M. Downey 70761,1206 (X)
  419.  
  420. Andre,
  421.  
  422. Have a look at these items here and let me know if you find anything that
  423. helps.
  424.  
  425.  
  426. Do you have a printer selected as default?
  427.  
  428. Have you tried using standard VGA mode if you are runing an enhanced
  429.      video driver?  This is something greater than (640x480) resolution
  430.      with more then 16 colors.
  431.  
  432. Do you have at least 4 megs extended memory free after starting the
  433.      system and before starting Microsoft Windows?
  434.  
  435. Do you have smartdrive set up?
  436.  
  437. If your not using smartdrive are you using another disk cache?
  438.  
  439. Do you have SHARE loaded with the parameters of at least
  440.      'share /l:300 /F:3000'?
  441.  
  442. If you have SHARE loaded, do you have it loaded LOW or HIGH?
  443.  
  444. If you have a network, did you load SHARE before the drivers or after
  445.      the network drivers?
  446.  
  447. Are you using Norton desktop for Windows?
  448.  
  449. Have you tried unloading other device drivers at least temporarily
  450.      before loading windows?
  451.  
  452. Are you running a screen saver like afterdark?  There are DLL's
  453.      associated with afterdark that they have an update for.
  454.  
  455. Do you have a permanent swap file?
  456.  
  457. Are you running a PIM or something with alarms?
  458.  
  459. If you have more then 8 megs of RAM, have you tried running in
  460.      standard mode?
  461.  
  462. Are you running a 3270 emulator or IRMA emulation?
  463.  
  464. Are you using WinFAX PRO? Do you have autoanswer turned on?
  465.  
  466. Are you using Wired 4 Sound?
  467.  
  468. All these things can affect performance and stability of your system
  469.      and these are only some of the more standard things that can be a
  470.      problem.
  471.  
  472.  
  473. Brian Reed (sysop)
  474.  
  475. * Reply:  31597
  476.  
  477. #: 31597 S1/Miscellaneous
  478.     28-May-93  14:40:48
  479. Sb: #31377-#Corrupted form #$%A@
  480. Fm: Andre M. Downey 70761,1206
  481. To: Brian Reed (Sysop) 71333,2360 (X)
  482.  
  483. Brian,
  484.  
  485. Happy Days are here again...
  486.  
  487. I had to add the /f:3000 param to SHARE and things work much better. I also
  488. moved the LOADHIGH SHARE before the SMARTDRV statement in my AUTOEXEC.BAT but
  489. subjectively I think its the /F which has done it.
  490.  
  491. Hopefully this is the last time I speak to you in this tread. Enjoy your
  492. Holiday (you do get them I assume).
  493.  
  494. Andre
  495.  
  496. #: 34117 S1/Miscellaneous
  497.     09-Jun-93  13:09:18
  498. Sb: #33263-Corrupted form #$%A@
  499. Fm: Brian Reed (Sysop) 71333,2360
  500. To: Dale L. Pittock 71214,615
  501.  
  502. Dale,
  503.  
  504. Weylan has been out so I am going to attempt to answer this one midstream.
  505. What Weylan was getting at with his message to you was the 64K limit.  He was
  506. taking 80 character lines * 800 = 64K.  Any combination that results in 64k is
  507. the limit.  So if you're close to this limit break your form up into more than
  508. one.
  509.  
  510. Also, I was just about to send your form to QA, but with this in mind I will
  511. try adding just any old code and see if this causes corruption also.  Then
  512. we'll know that we've reached another limit.
  513.  
  514. Brian Reed (sysop)
  515.  
  516. #: 31394 S1/Miscellaneous
  517.     27-May-93  18:32:40
  518. Sb: #Calculated Fields
  519. Fm: RICHARD D. CIOTTI 72142,3571
  520. To: Sysop (X)
  521.  
  522. I have three calculated fields in a form.  I can't get a report or query with
  523. the three calculated fields included.  Any possible way to do this?
  524.  
  525. * Replies:  31556, 31577
  526.  
  527. #: 31556 S1/Miscellaneous
  528.     28-May-93  12:50:47
  529. Sb: #31394-#Calculated Fields
  530. Fm: Steve Neverve (Sysop) 71333,114
  531. To: RICHARD D. CIOTTI 72142,3571 (X)
  532.  
  533. Richard,
  534.  
  535. I am assuming that you added these calculated fields to the form using the
  536. form tool and that the fields do not exist in the table.  What you should do
  537. is this:  Create a query that will calculate the fields for you and give the
  538. query a name.  This way the new table will contain the calculated fields.
  539. To give the answer table a different name, do the following in a query menu.
  540. Choose Properties | Answer Table | Options and change :Priv:Answer.DB to
  541. something else like TEST.  Now, here's how to create a calculated field in a
  542. query.  The example below finds the product of Sales and Costs and put the
  543. answer in a new field called Revenue.  The x's are checks and "" means an
  544. example element.  Select F5 to create an example element. Answer.DB was
  545. changed to NEWTEST.DB using the above info.
  546.  
  547.                     Table = Test.DB
  548.                     Sales    Costs
  549.                      120       30
  550.                      90        70
  551.       Query                                        Answer = NEWTEST.DB
  552.   Sales |  Costs                         |      Sales    Cost   Revenue
  553. x  "a"  |  x  "b",calc "a"-"b" as Revenue|       120      30      90
  554.                                                   90      70      20
  555.  Steve
  556.  
  557. #: 31577 S1/Miscellaneous
  558.     28-May-93  13:44:33
  559. Sb: #31394-Calculated Fields
  560. Fm: Weylan Wang -(Sysop)- 76702,1067
  561. To: RICHARD D. CIOTTI 72142,3571
  562.  
  563. Recalculate them using the the query or report.  Calculated fields in forms
  564. are for display only and can't be moved out of that form.  If you want to be
  565. able to use that calculation in something else, you are going to want to use
  566. write that into the table itself or use the above recalcuation methods.
  567.         -(Weylan Wang)-
  568.         -(Borland Paradox Technical Support)-
  569.  
  570. #: 32559 S1/Miscellaneous
  571.     02-Jun-93  17:52:32
  572. Sb: Calculated fields
  573. Fm: Harry D. Boul 71563,707
  574. To: Anyone
  575.  
  576. I having trouble figuring out how to add up fields that are already calculted
  577. fields.
  578. I'm sure there is an easy way to do this; however, I can't find a way to do
  579. this.
  580.         Help!
  581.         Harry Boul &  Charlie Digges
  582.  
  583. #: 31408 S1/Miscellaneous
  584.     27-May-93  18:52:29
  585. Sb: Networking  Paradox
  586. Fm: Stephanie Haas (Sysop) 71333,2145
  587. To: Richard P. Laurie 75310,1457 (X)
  588.  
  589. Richard,
  590.  
  591. Paradox supports the following networks: Novell Advanced Netware, 3COM
  592. 3Plux/3Plus Open, Microsoft LAN Manager, and any network that is 100% Windows
  593. Compatible. You are correct in that W4WG is not currently a supported network.
  594.  
  595. Stephanie
  596.  
  597. #: 31422 S4/Forms
  598.     27-May-93  20:38:17
  599. Sb: #recursive form
  600. Fm: Louis Marienthal 72627,3414
  601. To: Quinn Wildman (Sysop) 76703,3033 (X)
  602.  
  603. I am looking ahead to the problem of a recursive form (i.e., I have not yet
  604. tried to work the problem out with PdxWin).
  605.  
  606. Consider an accounts-payable application or perhaps a simple cash-basis
  607. accounting for receipts and disbursements.  Each transaction that is a payment
  608. or payment-due would obviously refer to a payee or vendor.  When entering this
  609. transaction, the first field would probably be the payee/ vendor name/ID, and
  610. the program would of course respond with the name and etc. pertaining to the
  611. payee/vendor.
  612.  
  613. Now, suppose the payee/vendor record refers to a prior record in the
  614. transaction table which would serve as a model for the transaction being
  615. entered.  There would be three levels of model.  (1) The new transaction would
  616. be a full copy of the model, including amounts; this for periodic payments of
  617. the same amount for the same purposes.  (2) The new transaction would copy
  618. only the accounting distribution of the model; this for periodic payments of
  619. different amounts but for the same purposes.  (3) The new transaction is the
  620. first for the payee/vendor, or past transactions do not apply.
  621.  
  622. Assuming that the model transactions are in the same table as the new record
  623. being entered and that the user would select the level of model, I would guess
  624. that the transaction table would have to be present on two forms and that
  625. lookups to past transactions would have to be programmed.
  626.  
  627. * Reply:  31613
  628.  
  629. #: 31613 S4/Forms
  630.     28-May-93  16:15:32
  631. Sb: #31422-recursive form
  632. Fm: Quinn Wildman (Sysop) 76703,3033
  633. To: Louis Marienthal 72627,3414
  634.  
  635. Are you asking a question here?  I don't see one.
  636.  
  637. #: 31426 S2/Install/CFG/HrdWare
  638.     27-May-93  20:47:16
  639. Sb: #Pissed Off
  640. Fm: Mike Irwin/Co-Assist 100114,1437
  641. To: David Dinsmore 72630,1542 (X)
  642.  
  643. David,
  644.  
  645. I can't speak for the others who help out on this forum (part volounteer and
  646. part staffers), but from recent feedback, having a long wait is a sign of
  647. being very unlucky, so may I please offer you apologies on behalf of all
  648. concerned.
  649.  
  650. You say you get a stack overflow every time you open a new form. This seems to
  651. be some Windows program crashing because it can't handle a refusal for a
  652. resource-demand - not necessarily P4W.
  653.  
  654. Could you possibly try reducing your Windows and DOS system to a bare minimum
  655. and trying to reproduce the problem. If you succeed, e-mail me the details
  656. (config, autoexec, win- and system-.ini, and form(s), along with anything else
  657. you can think of, and a note of who it is you are (otherwise I've no idea who
  658. sent me the file !!) and I'll try to help
  659.  
  660. Mike
  661.  
  662. * Reply:  31596
  663.  
  664. #: 31596 S2/Install/CFG/HrdWare
  665.     28-May-93  14:34:01
  666. Sb: #31426-Pissed Off
  667. Fm: David Dinsmore 72630,1542
  668. To: Mike Irwin/Co-Assist 100114,1437 (X)
  669.  
  670. Thanks for someone getting back to me.  The problem begins when you spend
  671. forever on hold so you try and use this forum and everybody else has their
  672. message answered and you don't even get acknowledged.  I did speak to tech
  673. support yesterday and they gave some suggestions but it's still happening and
  674. getting frustrating.  I have enclosed a copy of the database.  When I open
  675. "MONTHLY.FSL" the USER error happens almost everytime, but it can happen on
  676. any form.  It rarely happens if I open the form from another form.  Go
  677. figure...
  678.  
  679. #: 31650 S2/Install/CFG/HrdWare
  680.     28-May-93  19:07:06
  681. Sb: #Pissed Off
  682. Fm: James D Campbell 75630,65
  683. To: David Dinsmore 72630,1542 (X)
  684.  
  685. I had a similar problem and found out that I needed to change some
  686. configuration stuff.  The manual says that you need to bump up the number of
  687. files that can be shared when you load share.exe.  I think it defaults to
  688. something like 5-10, and needs to be set around 400.  Also many problems can
  689. be eliminated when you proactively tell Windows to keep its hands off certain
  690. areas of high memory.  I found it best to do this using x= and i= on your
  691. emm386/qemm386 statements.
  692.  
  693. Good luck, I think part of the problem is the instability of Windows on top of
  694. brain-dead DOS.
  695.  
  696. Jim Campbell
  697.  
  698. #: 31433 S3/Tables/TableView
  699.     27-May-93  21:18:23
  700. Sb: #Composite Foriegn Keys
  701. Fm: Jeff Winchell 76066,533
  702. To: ALL
  703.  
  704. I'm trying to create a simple database to track time for client billings.
  705.  
  706. I have a main table with a primary key of (Date,Time) and a foriegn key of
  707. (Project,SubProject) referencing Table SubProject.
  708.  
  709. Table SubProject has a primary key of (Project,SubProject) and a foreign key
  710. (Project) referencing Table Project.
  711.  
  712. I would like to be able to use Table Lookups from my main table so that I can
  713. fill out the fields Project and SubProject. I can't figure out how to get a
  714. lookup on the combination of two field (Project,SubProject). I can do a lookup
  715. on Project into Table Project. I suppose I could reorder the primary key of
  716. SubProject so that it is (SubProject,Project). Then I'd be able to do a lookup
  717. of SubProject (although the lookup isn't really enforcing the composite
  718. foreign key).
  719.  
  720. This doesn't seem to be an uncommon requirement of a DBMS, so either Paradox
  721. falls short there, or I'm falling short for not figuring out how to do this.
  722.  
  723. Also, I can't setup a Foreign Key from my main table, field Project, into the
  724. Table Project because I also have a Composite Foreign Key
  725. (Project,SubProject). Paradox Windows shows an error message saying I can't
  726. cascade referential integrity. I thought Paradox/Windows was advertised as
  727. having cascaded referential integrity, so perhaps I'm not doing this
  728. correctly.
  729.  
  730. Lastly, I'd really prefer to have a better primary key for my main table. I
  731. don't want two records to overlap in times. However, I can't see anyway to
  732. define a rule to enforce this.
  733.  
  734. Oh, and some minor stuff: how do I get the Default Value to be a function? I'd
  735. like the Default Value of the Date field to be Today. And I'd like to make the
  736. default value of the Time field to be the closest value to Now within 15
  737. minutes. And I'd also like to be able to make the next record I add default to
  738. the previous record for all other fields (similar to SET CARRY ON in dBASE
  739. IV).
  740.  
  741. Lots of questions. Hope you don't mind. In general, I find Paradox/Windows
  742. relational integrity constraints to be interesting, though sometimes I need to
  743. define all these rules without any data in the tables (making data rule
  744. modifications difficult). TIA!
  745.  
  746. * Reply:  31557
  747.  
  748. #: 31557 S3/Tables/TableView
  749.     28-May-93  12:54:54
  750. Sb: #31433-#Composite Foriegn Keys
  751. Fm: David Orriss Jr(Sysop) 75300,1414
  752. To: Jeff Winchell 76066,533 (X)
  753.  
  754. Jeff,
  755.  
  756. >  I can't figure out how to get a lookup on the combination of two fields
  757. > (Project,SubProject).
  758.  
  759. Lookups can only be done on a single field.  The lookup table can only have
  760. one key field.
  761.  
  762. > This doesn't seem to be an uncommon requirement of a DBMS, so either
  763. > Paradox falls short there, or I'm falling short for not figuring out how to
  764. > do this.
  765.  
  766. This is standard behavior in Paradox for DOS and Paradox for Windows.  You
  767. can, however, use ObjectPAL to program your own lookup (through forms) and
  768. get the effect you need.
  769.  
  770. > Also, I can't setup a Foreign Key from my main table, field Project, into
  771. > the
  772. > Table Project because I also have a Composite Foreign Key
  773. > (Project,SubProject). Paradox Windows shows an error message saying I can't
  774. > cascade referential integrity. I thought Paradox/Windows was advertised as
  775. > having cascaded referential integrity, so perhaps I'm not doing this
  776. > correctly.
  777.  
  778. I'm not quite sure what you mean here.  When you say 'foreign' key do you
  779. mean a secondary index?  As far as Cascading Referential Integrity, Paradox
  780. does this, but right now I'm not clear on what you mean here.
  781.  
  782. > Lastly, I'd really prefer to have a better primary key for my main table. I
  783. > don't want two records to overlap in times. However, I can't see anyway to
  784. > define a rule to enforce this.
  785.  
  786. If I understand this correctly, you might be able to write ObjectPAL code to
  787. enforce this.
  788.  
  789. > Oh, and some minor stuff: how do I get the Default Value to be a function?
  790. You could do this in a method on a form.
  791.  
  792. David
  793.  
  794. * Reply:  31764
  795.  
  796. #: 31764 S3/Tables/TableView
  797.     30-May-93  03:49:13
  798. Sb: #31557-#Composite Foriegn Keys
  799. Fm: Jeff Winchell 76066,533
  800. To: David Orriss Jr(Sysop) 75300,1414 (X)
  801.  
  802. > Also, I can't setup a Foreign Key from my main table, field Project, into >
  803. the Table Project because I also have a Composite Foreign Key >
  804. (Project,SubProject). Paradox Windows shows an error message saying I can't >
  805. cascade referential integrity. I thought Paradox/Windows was advertised as >
  806. having cascaded referential integrity, so perhaps I'm not doing this >
  807. correctly.
  808.  
  809. >>I'm not quite sure what you mean here.  When you say 'foreign' key do you
  810. >>mean a secondary index?  As far as Cascading Referential Integrity, Paradox
  811. >>does this, but right now I'm not clear on what you mean here
  812.  
  813. I mean foreign key as it is known in relational terminology. Relational keys
  814. have nothing to do with indexes (although indexes may increase performance for
  815. common operations involving keys).
  816.  
  817. > Oh, and some minor stuff: how do I get the Default Value to be a function?
  818. >>You could do this in a method on a form.
  819.  
  820. How about in a table view?
  821.  
  822. Thanks for the info.
  823.  
  824. * Reply:  32094
  825.  
  826. #: 32094 S3/Tables/TableView
  827.     01-Jun-93  12:47:43
  828. Sb: #31764-Composite Foriegn Keys
  829. Fm: David Orriss Jr(Sysop) 75300,1414
  830. To: Jeff Winchell 76066,533 (X)
  831.  
  832. Jeff,
  833.  
  834. > > Oh, and some minor stuff: how do I get the Default Value to be a
  835. > > function?
  836. > >>You could do this in a method on a form.
  837.  
  838. > How about in a table view?
  839.  
  840.   You can't, that's why I suggested doing it in a form.
  841.  
  842. David
  843.  
  844. #: 31454 S2/Install/CFG/HrdWare
  845.     27-May-93  23:49:33
  846. Sb: #Pdoxwin very, very slow!
  847. Fm: STR 76440,3422
  848. To: All
  849.  
  850. Is it my system or is Pdox for Windows screen update speed the slowest since
  851. Toolbook 1?  I've tried Access, Foxpro and Pdoxwin and while I find the latter
  852. the most conceptually satisfying it is impossibly slow in updating any screen
  853. action.  I am running a 386/33 w/200meg drive, 8meg ram, smartdrive, and a
  854. permanent vitual file of 7 megs.  Any and all screen access in Pdoxwin is so
  855. slow that I can't even consider using it as a regular tool.  Unless I've done
  856. something wrong in the installation this one is going back to the store.
  857. All advice and suggestions are welcomed before I take the big step.
  858.  
  859. * Replies:  31470, 31529, 31718, 32477
  860.  
  861. #: 31470 S2/Install/CFG/HrdWare
  862.     28-May-93  02:50:48
  863. Sb: #31454-Pdoxwin very, very slow!
  864. Fm: GARY HANDLEY 100271,1164
  865. To: STR 76440,3422 (X)
  866.  
  867. STR,
  868.  
  869. I also have the same problem, although my particular appliaction uses an
  870. enormous amount of graphics, I don't know if any system will make it run fast.
  871. I'm displaying 960 icon-size graphics on one screen at a time. It takes 26
  872. seconds to refresh each screen on a 486dx66 VLB with a graphics card based on
  873. the incredibly fast Wietech P9000.
  874.  
  875. I've been working on nothing else but trying to increase the speed of the
  876. Graphics to screen problem for two months. Unfortunately I can't give up and
  877. must persevere or perish.
  878.  
  879. However, in my opinion P4W is not a power system when it comes to working with
  880. graphics!
  881.  
  882. Regards,
  883.  
  884. Gary.
  885. London.
  886.  
  887. #: 31529 S2/Install/CFG/HrdWare
  888.     28-May-93  12:06:36
  889. Sb: #31454-#Pdoxwin very, very slow!
  890. Fm: Dan Ehrmann (TeamB) 70007,4644
  891. To: STR 76440,3422 (X)
  892.  
  893. STR:
  894.  
  895. (A real name would be nice! Who am I "talking" to? )
  896.  
  897. I run PdoxWin on a 386SL/25 notebook with 8 megs, and screen refresh/update is
  898. more than acceptable.
  899.  
  900. How big is your SmartDrv disk cache (or are you even running a cache?)
  901. Anything larger than 1 meg is a waste of resources, since at that point, you
  902. are probably already getting a 90% hit rate and diminishing returns kick in as
  903. you go higher.
  904.  
  905. How many other apps do you have running at the same time?
  906.  
  907. Is Paradox or your swap file being run from a LAN or locally?
  908.  
  909.  
  910. [Dan -> ]
  911.  
  912. * Reply:  31660
  913.  
  914. #: 31660 S2/Install/CFG/HrdWare
  915.     28-May-93  20:54:49
  916. Sb: #31529-#Pdoxwin very, very slow!
  917. Fm: George 72416,3142
  918. To: Dan Ehrmann (TeamB) 70007,4644 (X)
  919.  
  920. Sorry about the the name thing.  As you can see I am answering your mail from
  921. a different account.  My office account uses the company initials instead of a
  922. personal name.
  923. I am running a 1.4 meg smartdrive (you are the first person to ever tell me
  924. that a smartdrive setting can ever be too big)
  925. I am running locally not on a net.
  926. Depending on the complexity of a form paging from one record to the next can
  927. take anywhere from 3-15 seconds.  Way too slow to realistically flip through a
  928. large number of records.  From what I've seen Foxpro is next slowest in this
  929. respect and Access is the fasterest (just for screen updates of this sort)
  930. I like PAL and the interface but screen update speed is probably more
  931. important to me than sort and index speed.
  932. George
  933.  
  934. #: 31718 S2/Install/CFG/HrdWare
  935.     29-May-93  14:58:53
  936. Sb: #31454-#Pdoxwin very, very slow!
  937. Fm: Randy Magruder (Borland) 70720,663
  938. To: STR 76440,3422 (X)
  939.  
  940. What kind of video driver/board are you running at what resolution, and how
  941. much RAM is Smartdrv chewing up.  The video subsystem
  942. (board/driver/resolution) is the biggest hit as far as paints go.
  943.  
  944. Randy
  945.  
  946. * Reply:  31757
  947.  
  948. #: 31757 S2/Install/CFG/HrdWare
  949.     30-May-93  00:02:08
  950. Sb: #31718-#Pdoxwin very, very slow!
  951. Fm: STR 76440,3422
  952. To: Randy Magruder (Borland) 70720,663 (X)
  953.  
  954. Randy, I'm running a Diamondvideo w/1meg at 800x600x256.  Very fast generally.
  955. Smartdrive is using 1.4 meg of my 8megs of ram.
  956. George
  957.  
  958. * Reply:  31802
  959.  
  960. #: 31802 S2/Install/CFG/HrdWare
  961.     30-May-93  15:50:07
  962. Sb: #31757-#Pdoxwin very, very slow!
  963. Fm: Randy Magruder (Borland) 70720,663
  964. To: STR 76440,3422 (X)
  965.  
  966. George,
  967.  
  968. Smartdrive is WAY too big for only 8 megs of memory.  I'd lower it to 512K if
  969. not remove if completely.  While Paradox runs pretty well with the memory you
  970. have now, as you start building forms of greater complexity, and developing
  971. applications, you'll find that you want as much memory as you can get to
  972. avoid Windows swapping things out to disk.
  973.  
  974. Also, just for kicks, try loading the stock VGA driver that came with Windows
  975. and see if there's any performance difference.
  976.  
  977. Finally, go to Properties | Designer... and change Flicker Free draw to OFF.
  978. What this does is prevent double buffering of video writes.  When it is on,
  979. we draw to an offscreen bitmap, and let the video board blit it onto the
  980. screen.  Depending on how your driver was engineered, you may see better or
  981. worse performance than straight to the screen.  Obviously the OFF setting
  982. would introduce more flicker, but if your board is optimized for those
  983. operations, it may be minimal and save the time normally required to blit the
  984. pre-drawn images to the screen.  Most windows programs will write directly to
  985. the screen.
  986.  
  987. Randy
  988.  
  989. * Reply:  31806
  990.  
  991. #: 31806 S2/Install/CFG/HrdWare
  992.     30-May-93  15:59:27
  993. Sb: #31802-Pdoxwin very, very slow!
  994. Fm: STR 76440,3422
  995. To: Randy Magruder (Borland) 70720,663 (X)
  996.  
  997. The double buffer setting makes a big difference in speed.  The flicker is
  998. anoying but not as much as the slow response of the double buffeing.  Thanks.
  999.  
  1000. #: 32477 S2/Install/CFG/HrdWare
  1001.     02-Jun-93  12:56:42
  1002. Sb: #31454-Pdoxwin very, very slow!
  1003. Fm: James D Campbell 75720,3626
  1004. To: STR 76440,3422
  1005.  
  1006. It may depend on what you are doing.  I open files directly and have no
  1007. performance problems.  The only time I had a challenge is when I did a
  1008. directory listing of a directory with many files in it.  The add button to a
  1009. folder when your current directory has many tables takes forever.  I think
  1010. this might be attributed to the way P4W builds icons for each table and reads
  1011. them into memory.  I did some timings to bring up a directory with lots of
  1012. files.
  1013.   XTNET:  11 seconds
  1014.      P4W:    1 minute 46 seconds
  1015.      File Manager:   45 seconds
  1016.      PDOX4(DOS):  instantly
  1017. Tuning Windows can help performance as well.  Also you will find increased
  1018. performance under Windows if you never scatter your screen with zillions of
  1019. Program Manager Icons and Groups.  Each Icon eats up Window's resources.
  1020. Microsoft in their infinite wisdom limits the number of icon and other GUI
  1021. handles.  I think there is a 64k limit for this resource.  Someone else can
  1022. probably tell you more accurately.
  1023. Good Luck:
  1024. Jim Campbell
  1025.  
  1026. #: 31455 S1/Miscellaneous
  1027.     27-May-93  23:55:36
  1028. Sb: #Auto-incrementing
  1029. Fm: David H. Goldman 70521,2105
  1030. To: [F] Tanj Bennet 70642,1211 (X)
  1031.  
  1032. I copied the text word for word on page 283 for having an autonumbering of
  1033. records on my form.  When I go to run it, I get an error message when it gets
  1034. to method "open" (The second block, above the tip)  It says "Cannot change a
  1035. built in Header."  I seperated the header from the table, and it still did not
  1036. work.  What am I doing wrong?
  1037.  
  1038. I am going away on Friday afternoon for a week.  I will check my messages
  1039. before I leave, but if you have not been able to get back to me by then, I'll
  1040. speak with you when I get back.
  1041.  
  1042. Thank you,
  1043.  
  1044. David
  1045.  
  1046. * Reply:  31642
  1047.  
  1048. #: 31642 S1/Miscellaneous
  1049.     28-May-93  18:01:14
  1050. Sb: #31455-Auto-incrementing
  1051. Fm: Robert Ramirez (Sysop) 76702,255
  1052. To: David H. Goldman 70521,2105
  1053.  
  1054. Hello David,
  1055.  
  1056. >Cannot change a built in Header.
  1057.  
  1058. This error message means that you changed the built-in header for the Method
  1059. you typed your code in.  Make sure that the Action method header and the Open
  1060. method header look exactly like page 283.
  1061.  
  1062. ~Robert
  1063. Borland Tech. Support
  1064.  
  1065. #: 31458 S3/Tables/TableView
  1066.     28-May-93  00:15:43
  1067. Sb: #dBase format Bug in PDW?
  1068. Fm: Finlay J. Stewart 76150,2160
  1069. To: All
  1070.  
  1071. I recently started playing with Lotus Organizer and used the Export capability
  1072. to form a dBase table from the Calandar section to do time-charging tracking.
  1073. One of the fields selected is Duration (time in minutes) of appointments.
  1074. When opening the exported table in PDW, any values of Duration < 100 are
  1075. BLANK.
  1076. Opening a copy of the same table in QPW Database Desktop or MSAccess, using
  1077. PCTOOLS 8.0 or PCTOOLS for Windows 1.0 viewers, or importing the table into
  1078. PDOX35, all show the proper values.
  1079.  
  1080. If the dBase table is opened first in PDW, then the other viewing options also
  1081. show BLANK values for Duration < 100.  PDW does show the proper values after
  1082. opening the PDOX35 version after importing.  PDW does allow values < 100 to
  1083. be hand edited.
  1084.  
  1085. The PDW table structure shows Duration as [N, 3, 0]; changing the data type to
  1086. floating point has no effect.  The low values are still BLANK.
  1087.  
  1088. Any comments?
  1089.  
  1090. Thanx,
  1091.   Jim S.
  1092.  
  1093. * Reply:  31559
  1094.  
  1095. #: 31559 S3/Tables/TableView
  1096.     28-May-93  12:55:02
  1097. Sb: #31458-dBase format Bug in PDW?
  1098. Fm: David Orriss Jr(Sysop) 75300,1414
  1099. To: Finlay J. Stewart 76150,2160 (X)
  1100.  
  1101. Finlay,
  1102.  
  1103.  I'll look into it at this end.  In the mean time, let's try and at least get
  1104. you your data.  You can do one of two things:
  1105.  
  1106. 1) Export the data from Lotus Organizer to ASCII, then import it into Paradox
  1107. for Windows.
  1108.  
  1109. or
  1110.  
  1111. 2) Take the DBF file from Lotus Organizer and use File|Utilities|Copy to copy
  1112. it to a DB file.  This will translate the data to Paradox format.
  1113.  
  1114. Hope this helps.
  1115.  
  1116. David
  1117.  
  1118. #: 31459 S4/Forms
  1119.     28-May-93  00:15:46
  1120. Sb: #Multi-table edits
  1121. Fm: Finlay J. Stewart 76150,2160
  1122. To: All
  1123.  
  1124. I seem to be missing something, probably simple, but how do you set up a
  1125. multi-page, multi-table form so that you can edit data in CHILD1 and CHILD2
  1126. tables which are both linked 1-->1 with PARENT, all using a common key value?
  1127.  
  1128. Thanx,
  1129.  
  1130.         Jim S.
  1131.  
  1132. * Reply:  31502
  1133.  
  1134. #: 31502 S4/Forms
  1135.     28-May-93  10:23:07
  1136. Sb: #31459-Multi-table edits
  1137. Fm: Bill Todd (Kallista) 75046,1345
  1138. To: Finlay J. Stewart 76150,2160 (X)
  1139.  
  1140. To be able to edit the child tables you must right click on them in the data
  1141. model dialog and uncheck the Read Only property.
  1142.  
  1143. Bill
  1144.  
  1145. #: 31463 S4/Forms
  1146.     28-May-93  01:02:11
  1147. Sb: #Scrolling
  1148. Fm: Terry Moriarty 71310,2172
  1149. To: Sysop (X)
  1150.  
  1151. I have a form with 2 tableframes on it which scroll.  For some reason, the
  1152. form doesn't display the list of records from the first one.  I have to scroll
  1153. up to see the first record.  Often, the screen comes up with the list blank.
  1154. I spent quite a bit of time debugging before I decided to try scrolling up.
  1155. The records were all there.
  1156.  
  1157. How do I get the list to display from the first record when the form opens?
  1158.  
  1159. Also, I've noticed that the scroll bar for vertical scrolling doesn't
  1160. accurately represent where you are in the record list.  In fact, some times
  1161. the scroll bar is sized the full length of the frame, which normally indicates
  1162. that all records are displayed and you can't scroll.  But there are more
  1163. records and I can scroll by clicking on the single step arrows, but not by
  1164. using the scroll bar.
  1165.  
  1166. I'm only displaying three records at a time.  Maybe the frame is too small for
  1167. the graphics to work right?
  1168.  
  1169. Thanks
  1170.  
  1171. * Reply:  31487
  1172.  
  1173. #: 31487 S4/Forms
  1174.     28-May-93  08:48:26
  1175. Sb: #31463-Scrolling
  1176. Fm: Tim Colling (TeamB) 70007,4655
  1177. To: Terry Moriarty 71310,2172 (X)
  1178.  
  1179. Terry -
  1180.  
  1181. Sounds like you're doing something in some open() method that is srolling
  1182. that first tableframe to the last record.  Try this in the tableframe's
  1183. open method:
  1184.  
  1185.  method open(var eventInfo Event)
  1186.  doDefault
  1187.  ;any other code that you currently have added here
  1188.  ;would go next, and then the next statement should get the
  1189.  ;tf scrolled back up to the first record
  1190.  self.action(dataBegin)
  1191.  endMethod
  1192.  
  1193. Tim
  1194.  
  1195. #: 31468 S2/Install/CFG/HrdWare
  1196.     28-May-93  01:56:35
  1197. Sb: #PDOXW and DOS 6.0
  1198. Fm: Junhyong Kim 76114,1240
  1199. To: ALL
  1200.  
  1201. Help! I just installed DOS 6.0 with DBLSPACE and now my PDOXW doesn't work! I
  1202. can run the program and I get to the usual menu, but if I try to open a form
  1203. or a table I get a blank window. The outline of the window is there but
  1204. nothing else. If I click around inside the box the various objects appear
  1205. where I click. Does anybody know what is happening?
  1206.  
  1207. I am running a Gateway2000 486-33SX with ATI ULTRA PRO at 1024X768. Nothing
  1208. else fancy except for the DBLSPACE thing.
  1209.  
  1210. * Reply:  31584
  1211.  
  1212. #: 31584 S2/Install/CFG/HrdWare
  1213.     28-May-93  13:49:21
  1214. Sb: #31468-#PDOXW and DOS 6.0
  1215. Fm: Brian Bushay (TeamB) 76711,516
  1216. To: Junhyong Kim 76114,1240 (X)
  1217.  
  1218. Junhyong
  1219.  
  1220.  
  1221. >Help! I just installed DOS 6.0 with DBLSPACE and now my PDOXW doesn't work! I
  1222.  
  1223. Make sure your Windows Swap file is on a drive that is not compressed by
  1224. DBLSPACE
  1225.  
  1226. Brian
  1227.  
  1228. * Reply:  31673
  1229.  
  1230. #: 31673 S2/Install/CFG/HrdWare
  1231.     29-May-93  01:06:25
  1232. Sb: #31584-#PDOXW and DOS 6.0
  1233. Fm: Junhyong Kim 76114,1240
  1234. To: Brian Bushay (TeamB) 76711,516 (X)
  1235.  
  1236. Thanks Brian and everybody for the quick response.
  1237.  
  1238. As usual I found the problem after I already yelled for help. After about two
  1239. hours of debugging I found things improved a little by little as I deleted
  1240. more things from high mem and especially when I went to standard mode. At that
  1241. point I was at about 4 megs mem. Then I realized I should have more from
  1242. virtual mem. I checked the virtual mem settings and found that it had been set
  1243. to zero after DBLSPACE install. I originally had a temp swap file and the
  1244. default installation of DBLSPACE didn't leave enough room on the uncompressed
  1245. drive for the swap file and Windows seems to have just set it to zero. Perhaps
  1246. others should be aware of this possibility.
  1247.  
  1248. I am shocked at how much resources PDOXWIN uses, no other program had problems
  1249. and I didn't notice this problem. It is also kind of strange way of reacting
  1250. to dimishing resources. Shouldn't the program check for available mem before
  1251. allocating them?
  1252.  
  1253. Junhyong
  1254.  
  1255. * Reply:  31708
  1256.  
  1257. #: 31708 S2/Install/CFG/HrdWare
  1258.     29-May-93  12:49:06
  1259. Sb: #31673-#PDOXW and DOS 6.0
  1260. Fm: Brian Bushay (TeamB) 76711,516
  1261. To: Junhyong Kim 76114,1240 (X)
  1262.  
  1263. Junhyong
  1264.  
  1265.  
  1266. >default installation of DBLSPACE didn't leave enough room on the uncompressed
  1267. >drive for the swap file and Windows seems to have just set it to zero. Perhaps
  1268. >others should be aware of this possibility.
  1269. Thanks for that tip
  1270.  
  1271.  
  1272. >I am shocked at how much resources PDOXWIN uses, no other program had problems
  1273. PdoxWin does use more resources than other programs but Databases are a
  1274. great deal more complex than other applications.  PdoxWin is a very tight
  1275. fit on a 4 meg machine.  In order to have any kind or reasonable performance
  1276. you will need to have a permanent swap file of 4-6 meg (Temporary swap files
  1277. don't cut it) The perminant swap file needs to be on an uncompressed drive.
  1278. And you need to make sure that SmartDrv.exe has a cache size
  1279. no larger than 256K.
  1280.  
  1281.  
  1282.  
  1283. Brian
  1284.  
  1285. #: 32349 S2/Install/CFG/HrdWare
  1286.     01-Jun-93  23:15:10
  1287. Sb: #31996-#PDOXW and DOS 6.0
  1288. Fm: Andy Spears 70143,1152
  1289. To: Brian Bushay (TeamB) 76711,516 (X)
  1290.  
  1291. Thanks.  Would your recommendation be different knowing that I have 8 meg on
  1292. my machine?
  1293.  
  1294. Andy S.
  1295.  
  1296. * Reply:  32378
  1297.  
  1298. #: 32378 S2/Install/CFG/HrdWare
  1299.     02-Jun-93  02:24:40
  1300. Sb: #32349-#PDOXW and DOS 6.0
  1301. Fm: Brian Bushay (TeamB) 76711,516
  1302. To: Andy Spears 70143,1152 (X)
  1303.  
  1304. Andy
  1305.  
  1306.  
  1307. >Thanks.  Would your recommendation be different knowing that I have 8 meg on
  1308. >my machine?
  1309.  
  1310. With 8 meg I would go up to one meg of cache.
  1311.  
  1312.  
  1313. Brian
  1314.  
  1315. #: 31471 S1/Miscellaneous
  1316.     28-May-93  03:24:52
  1317. Sb: #Organizer
  1318. Fm: Frank H. Ewing 71562,3537
  1319. To: Dan Ehrmann (TeamB) 70007,4644 (X)
  1320.  
  1321. Dan:
  1322.         All went very well, but I do have one other question.  Does the .DBF
  1323. format--once created--act as a backup file for the DB. In other words when you
  1324. edit a table does this automatically edit the .DBF file as well?  Thanks
  1325. again.
  1326.                                         Frank
  1327.  
  1328. * Reply:  31525
  1329.  
  1330. #: 31525 S1/Miscellaneous
  1331.     28-May-93  12:06:15
  1332. Sb: #31471-#Organizer
  1333. Fm: Dan Ehrmann (TeamB) 70007,4644
  1334. To: Frank H. Ewing 71562,3537 (X)
  1335.  
  1336. Frank:
  1337.  
  1338. Once you make the copy, the .DBF and .DB files are separate and distinct. No
  1339. linkage, no auto updating.
  1340.  
  1341.  
  1342. [Dan -> ]
  1343.  
  1344. #: 31473 S4/Forms
  1345.     28-May-93  03:40:22
  1346. Sb: #Passing Values in Forms
  1347. Fm: GARY HANDLEY 100271,1164
  1348. To: All
  1349.  
  1350. Hello All,
  1351.  
  1352. Does anyone know a way to pass values between forms without using libraries or
  1353. explicit dot notation?
  1354.  
  1355. Scenario
  1356. --------
  1357. In form1 user tries to fill in customer id, it's not in lookup table so an
  1358. info box suggests user presses [New Customer] button. When user presses it
  1359. custForm comes up and he fills in information. When user closes the form I
  1360. want to insert the new customer id in the field on form1 automatically.
  1361.  
  1362. Is it possible to pass this value back in the close() command, and if so how
  1363. do I retrieve it once it's sent back?
  1364.  
  1365. Thanks in advance,
  1366.  
  1367. Gary.
  1368. London
  1369.  
  1370. * Replies:  31486, 31533, 32041
  1371.  
  1372. #: 31486 S4/Forms
  1373.     28-May-93  08:48:22
  1374. Sb: #31473-#Passing Values in Forms
  1375. Fm: Tim Colling (TeamB) 70007,4655
  1376. To: GARY HANDLEY 100271,1164 (X)
  1377.  
  1378. Gary -
  1379.  
  1380. If the second form is in a wait(), you can use formReturn().
  1381.  
  1382. Tim
  1383.  
  1384. #: 31533 S4/Forms
  1385.     28-May-93  12:06:56
  1386. Sb: #31473-Passing Values in Forms
  1387. Fm: Dan Ehrmann (TeamB) 70007,4644
  1388. To: GARY HANDLEY 100271,1164 (X)
  1389.  
  1390. Gary, there are a few alternatives:
  1391.  
  1392. Set up a global variable in the library, then use 2 custom methods in the
  1393. library to read and write this variable.
  1394.  
  1395. Use a single-field, single-record table to hold the value and open/close a
  1396. TCursor on that table.  It's faster than you think.
  1397.  
  1398. Don't close the second form, just hide it.  Then you can explicitly reference
  1399. a variable on that form since it's still open.
  1400.  
  1401.  
  1402. [Dan -> ]
  1403.  
  1404. #: 32041 S4/Forms
  1405.     01-Jun-93  10:01:14
  1406. Sb: #31473-#Passing Values in Forms
  1407. Fm: Rick Fillman (Sysop) 76702,273
  1408. To: GARY HANDLEY 100271,1164 (X)
  1409.  
  1410.  > Does anyone know a way to pass values between forms without using
  1411.  > libraries or explicit dot notation?
  1412.  
  1413. You can directly address field objects between forms, much as if they are
  1414. variables.
  1415.  
  1416.     FormVariable.UIojectName.value = <new value>
  1417.  
  1418. The above writes a value to the display object in the other form.
  1419.  
  1420.     MyVar = FormVariable.UIobjectName.value
  1421.  
  1422. The above reads a value from a display object in another form.
  1423.  
  1424. In both of the above, the FormVariable servers as a "handle" or a pointer
  1425. to the other form.
  1426.  
  1427. Hope this helps.
  1428.  
  1429.     Rick Fillman, Tech Support (Borland)
  1430.  
  1431. #: 31477 S4/Forms
  1432.     28-May-93  06:19:36
  1433. Sb: #field.moveTo()
  1434. Fm: GARY HANDLEY 100271,1164
  1435. To: All
  1436.  
  1437. Hello All,
  1438.  
  1439. Has anyone had any problems with the moveTo() command? In the open method for
  1440. my form I get the user to input certain values in a box, then make that box
  1441. invisible. The values input fill most of the form in so I then want to moveTo
  1442. a field halfway down the form. The cursor actually moves there but then
  1443. immediately moves to the first field in the form. Does anybody know why this
  1444. happens?
  1445.  
  1446. Thanks
  1447.  
  1448. Gary.
  1449.  
  1450. * Replies:  31490, 31534
  1451.  
  1452. #: 31490 S4/Forms
  1453.     28-May-93  09:06:15
  1454. Sb: #31477-#field.moveTo()
  1455. Fm: Ryan Marcotte 71241,2037
  1456. To: GARY HANDLEY 100271,1164 (X)
  1457.  
  1458. Hi Gary, Have you tried DISABLEDEFAULT before your moveto()?  If you are using
  1459. the tab key, the default action is to move to the next field. Hope this helps.
  1460. -Ryan
  1461.  
  1462. #: 31534 S4/Forms
  1463.     28-May-93  12:07:00
  1464. Sb: #31477-#field.moveTo()
  1465. Fm: Dan Ehrmann (TeamB) 70007,4644
  1466. To: GARY HANDLEY 100271,1164 (X)
  1467.  
  1468. Gary:
  1469.  
  1470. Be careful putting code on the open() method of a form, since your code may
  1471. execute before the form is fully opened.
  1472.  
  1473. Be sure to place a "doDefault" before your custom code, so that the form is
  1474. completely opened.  Alternatively, place your code in the arrive() or
  1475. setFocus() methods of the form, which trigger after the form has opened.
  1476.  
  1477.  
  1478. [Dan -> ]
  1479.  
  1480. #: 31482 S1/Miscellaneous
  1481.     28-May-93  08:32:57
  1482. Sb: #Counter field
  1483. Fm: Ulrich Zindler 100271,313
  1484. To: Mac Nelson 73777,3374 (X)
  1485.  
  1486. High Mac,
  1487. there is a much more easy way, then described in msg #30174.
  1488. just change the action-method for your form/table recieving <DATAINSERTRECORD>
  1489. (inserting) and <DATARRIVERECORD and self.BlankRecord = True> (appending).
  1490. If recieving such a eveninfo,.id() you can create your own incremented primary
  1491. key by <open> a TCurosr to the same
  1492. table (open NOT attach, 'cause otheways you wouldn't get the prim index)
  1493. moting to eot() adiing 1 and replacing primary index field(s) by the result of
  1494. this eymaple:
  1495.  
  1496.         form/table::actionevent method()
  1497.  
  1498.         var
  1499.                 ui      UIObject
  1500.                 tc      TCursor
  1501.                 keyval  LongInt                 ; assuming you have a
  1502. numric/alpha prim. key
  1503.                 flds    Array[] String
  1504.         endvar
  1505.         if isEdit() then
  1506.  
  1507.                 tc.open(<your table>)           ; preliminaries
  1508.                 tc.enumFlds(flds)                       ; only if
  1509. FORM::action, could take place elsewhere
  1510.                 eventinfo.gettarget(ui)         ; -- "" --
  1511.                 if flds.contains(ui.name) then          ; -- "" --
  1512.                         if eventinfo.id() =  DataInsertRecord           OR
  1513.                                  (eventinfo.id() = DataArriveRecord   AND
  1514.                                    self.Blankrecord)                    then
  1515.                                 tc.end()
  1516.                                 if tc.eot() AND tc.bot() then           ;
  1517. table emtpy ?
  1518.                                     keyVal = 1                  ; key = 1
  1519.                                 else
  1520.                                     keyVal = LongInt(<your keyfield>) +1
  1521. ; increment
  1522.                                 endif
  1523.                                 ; various actions to privide coorect type of
  1524. keyVal for
  1525.                                 ; coming replace action
  1526.                                 dodefault                               ;
  1527. IMPORTANT AT THIS PLACE !
  1528.                                 self.<your keyfield> = <right typed keyVal>
  1529.  
  1530.                         endif
  1531.                 endif
  1532.  
  1533. hope, this will help you (can also be put intio a lib routine, but NOT teh
  1534. "dodefault"-statement !).
  1535.  
  1536. bye UZ
  1537.                 tc.close()                                              ;
  1538. don't forget !!
  1539.  
  1540. * Reply:  31717
  1541.  
  1542. #: 31717 S1/Miscellaneous
  1543.     29-May-93  14:58:49
  1544. Sb: #31482-Counter field
  1545. Fm: Randy Magruder (Borland) 70720,663
  1546. To: Ulrich Zindler 100271,313 (X)
  1547.  
  1548. Ulrich,
  1549.  
  1550. There's one thing you didn't consider in ObjectPAL, and this is a KILLER in a
  1551. multi-user environment.  DataArriveRecord happens not only when YOU arrive to
  1552. a record, but when ObjectPAL does Network refreshses or unlocks on your
  1553. record.  If you *must* use dataArriveRecord (I try to avoid it), check for
  1554. record.Refresh....make sure it isn't true or you'll have serious problems
  1555. once lots of users start pounding on the system.  You'll be getting into a
  1556. state where blankRecord is true, and arriveRecord is true, but the arrive
  1557. record was not caused by you, but by a network refresh!
  1558.  
  1559. Randy
  1560.  
  1561. #: 31488 S1/Miscellaneous
  1562.     28-May-93  08:57:42
  1563. Sb: #Objevt Vision
  1564. Fm: Napier University 100034,1645
  1565. To: sysops (X)
  1566.  
  1567. I am having difficulty in creating Paradox files in Object Vision using the
  1568. 4.0 locking protocol that are compatible with Paradox for Windows.  When such
  1569. files are created under the UK International settings in Windows, Paradox for
  1570. Windows displays the following error messages:-
  1571.         "Unable to open table"
  1572.         "Could not find language driver."
  1573. when trying to open these newly created tables.
  1574.  
  1575. However, this problem seems to disappear when such files are created under the
  1576. US International settings in Windows.
  1577.  
  1578. Please can anyone help...?
  1579.  
  1580. Thanks.
  1581.  
  1582. * Reply:  31643
  1583.  
  1584. #: 31643 S1/Miscellaneous
  1585.     28-May-93  18:01:16
  1586. Sb: #31488-Objevt Vision
  1587. Fm: Robert Ramirez (Sysop) 76702,255
  1588. To: Napier University 100034,1645
  1589.  
  1590. Hello Napier,
  1591.  
  1592. Make sure that you open up the Pdoxwin Odapi Configuration Utility and change
  1593. the System Langurage Driver to "Paradox intl" and the Paradox Language Driver
  1594. settings to "Paradox int".
  1595.  
  1596. ~Robert
  1597. Borland Tech. Support
  1598.  
  1599. #: 31492 S1/Miscellaneous
  1600.     28-May-93  09:14:22
  1601. Sb: #31382-#Windows NT
  1602. Fm: Fernando Santos 70042,1274
  1603. To: Weylan Wang -(Sysop)- 76702,1067 (X)
  1604.  
  1605. "See microsoft they have a statement that if it doesn't work and it is Windows
  1606. 3.1 compatible, they have said that it is their fault."
  1607.  
  1608. Does that means it will work if Microsoft fixes NT or does that means a new
  1609. PDOXWIN version will fix it (or even better: it is possible to run under some
  1610. circunstances)?
  1611.  
  1612. I'm a little concerned about this because I want our systems to move to NT and
  1613. just a few days ago we decided to start porting our data and our software to
  1614. PDOXWIN and ObjectPAL.
  1615.  
  1616. Fernando
  1617.  
  1618. * Replies:  32285, 32841
  1619.  
  1620. #: 32285 S1/Miscellaneous
  1621.     01-Jun-93  19:04:56
  1622. Sb: #31492-Windows NT
  1623. Fm: Weylan Wang -(Sysop)- 76702,1067
  1624. To: Fernando Santos 70042,1274 (X)
  1625.  
  1626. Microsoft should be fixing their product if Paradox doesn't work with NT.
  1627. They are saying that if it doesn't work in what you were given and it was a
  1628. win 3.1 app, it should work.  If it does not, they need to fix NT so that it
  1629. should.
  1630.         -(Weylan Wang)-
  1631.         -(Borland Paradox Technical Support)-
  1632.  
  1633. #: 32841 S1/Miscellaneous
  1634.     03-Jun-93  15:45:19
  1635. Sb: #31492-Windows NT
  1636. Fm: \John G. Wingfield 70253,3163
  1637. To: Fernando Santos 70042,1274
  1638.  
  1639. Fernando,
  1640.        PMFJI.  According to a report in PCWEEK from 3 weeks back, Borland
  1641. plans to start recompiling their products to take advantage of the Windows NT
  1642. 32 bit system.  These 32 bit versions will start to appear in a few months,
  1643. starting with languages first (C++, Pascal, etc.) and then applications. The
  1644. report was based on information supplied by "official" spokespersons at
  1645. Borland.  The article also indicated Paradox would likely be the first
  1646. application recompiled as a 32 bit application as opposed to its current 16
  1647. bit form.
  1648.  
  1649. #: 31500 S1/Miscellaneous
  1650.     28-May-93  10:02:36
  1651. Sb: #Import fixed len ASCII
  1652. Fm: Christine Burns 100111,2453
  1653. To: All
  1654.  
  1655.  
  1656. Please can someone help :
  1657.  
  1658. I KNOW there's a facility for importing a table from a fixed length
  1659. undelimited ASCII file in PdoxWin ... but I need to do this in the Paradox 3.5
  1660. /4.0 environment as well unfortunately.  I vaguely remember there being a
  1661. utility avaialble for this, but that's ALL I can remember (and I could be
  1662. getting confused with FLIC in Forest and Trees).
  1663.  
  1664. Can anyone please point me in the right direction so that I don't have to
  1665. write a program to reformat the stuff into delimited form ?
  1666.  
  1667. Regards
  1668.  
  1669. Christine Burns
  1670.  
  1671. * Reply:  31742
  1672.  
  1673. #: 31742 S1/Miscellaneous
  1674.     29-May-93  22:29:14
  1675. Sb: #31500-#Import fixed len ASCII
  1676. Fm: Dan Ehrmann (TeamB) 70007,4644
  1677. To: Christine Burns 100111,2453 (X)
  1678.  
  1679. Christine:
  1680.  
  1681. Borland used to provide FLIMPORT (Fixed Length Import) with Paradox 3.X. It
  1682. was not updated for Paradox 4.0/PdoxWin.
  1683.  
  1684. You can download it from this forum as FLIMPO.ZIP and import your data into a
  1685. 3.X table, then copy or query that file into a PdoxWin table.
  1686.  
  1687. Alternatively, you might consider Kallista's CONDUIT utility, which fully
  1688. supports Pdox 4.0/Win tables and is about 14 times faster than FLIMPORT for
  1689. comparable operations.  If you want more information via EMail, just let me
  1690. know.  Or call 312-663-0101.
  1691.  
  1692. [Dan -> Kallista]
  1693.  
  1694. #: 31508 S4/Forms
  1695.     28-May-93  10:47:23
  1696. Sb: #Centering objects
  1697. Fm: John Marchioli 71333,622
  1698. To: Technical Support
  1699.  
  1700. Could someone please tell me how to center a container object on a form
  1701. (during design time -interactively).
  1702.  
  1703. John
  1704.  
  1705. * Replies:  31619, 31747
  1706.  
  1707. #: 31619 S4/Forms
  1708.     28-May-93  16:15:53
  1709. Sb: #31508-Centering objects
  1710. Fm: Quinn Wildman (Sysop) 76703,3033
  1711. To: John Marchioli 71333,622 (X)
  1712.  
  1713. >Could someone please tell me how to center a container object on a form
  1714. >(during design time -interactively).
  1715.  
  1716. The only type of container object you can center is text within a button.  If
  1717. you have multiple object, you can align then center - relative to each other.
  1718.  
  1719. #: 31747 S4/Forms
  1720.     29-May-93  22:29:39
  1721. Sb: #31508-Centering objects
  1722. Fm: Dan Ehrmann (TeamB) 70007,4644
  1723. To: John Marchioli 71333,622 (X)
  1724.  
  1725. John:
  1726.  
  1727. >> Could someone please tell me how to center a container object on a form
  1728. >> (during design time -interactively).
  1729.  
  1730. The simplest technique is to turn on the Horizontal Ruler, then grab the
  1731. object and move it so that the middle "handle" is in line with the middle
  1732. measurement on the speedbar.
  1733.  
  1734.  
  1735. [Dan -> ]
  1736.  
  1737. #: 31513 S3/Tables/TableView
  1738.     28-May-93  11:12:51
  1739. Sb: #Default means default?
  1740. Fm: David Orriss Jr(Sysop) 75300,1414
  1741. To: Dick Reuben 73767,3655 (X)
  1742.  
  1743. Dick,
  1744.  
  1745.   Try these things:
  1746.  
  1747.   1) In File Manager, search for all occurances of PDOXWIN.INI.  Delete all
  1748. of them BUT the one in your \PDOXWIN directory.
  1749.  
  1750.   2) Go into 'Change program item properties' in the Program Manager and
  1751. verify that there are *no* command-line options being used.
  1752.  
  1753.   3) Make sure your \PDOXWIN\PDOXWIN.INI file is not set to read-only (this
  1754. one may be a little obvious sounding, but check anyway).
  1755.  
  1756.   Let me know what happens.
  1757.  
  1758. David
  1759.  
  1760. * Reply:  32496
  1761.  
  1762. #: 32496 S3/Tables/TableView
  1763.     02-Jun-93  14:29:17
  1764. Sb: #31513-#Default means default?
  1765. Fm: Dick Reuben 73767,3655
  1766. To: David Orriss Jr(Sysop) 75300,1414 (X)
  1767.  
  1768. I've been out of town for a week, so to refresh your memory, here's your
  1769. last message---it related to the fact that my Opal level won't stick on
  1770. Advanced:
  1771.                                ------------------------
  1772. Dick,
  1773.  
  1774.   Try these things:
  1775.  
  1776.   1) In File Manager, search for all occurances of PDOXWIN.INI.  Delete all
  1777. of them BUT the one in your \PDOXWIN directory.
  1778.  
  1779.   2) Go into 'Change program item properties' in the Program Manager and
  1780. verify that there are *no* command-line options being used.
  1781.  
  1782.   3) Make sure your \PDOXWIN\PDOXWIN.INI file is not set to read-only (this
  1783. one may be a little obvious sounding, but check anyway).
  1784.  
  1785.   Let me know what happens.
  1786.                           ---------------------
  1787.  
  1788. David, I've tried all of the above.  I'd been using -f and -c on the command
  1789. line, but eliminating those made no difference.  I load PDW, change the level
  1790. to Advanced; exit PDW and come back in again, and level is back at Beginner.
  1791.  
  1792. In addition, if I delete Pdoxwin.ini from \Windows, a new one is created
  1793. there the next time that I load the program, and then I have two.  'Course
  1794. both of them show Level = Advance....
  1795.  
  1796. Dick
  1797.  
  1798. * Reply:  32753
  1799.  
  1800. #: 32753 S3/Tables/TableView
  1801.     03-Jun-93  12:59:24
  1802. Sb: #32496-Default means default?
  1803. Fm: David Orriss Jr(Sysop) 75300,1414
  1804. To: Dick Reuben 73767,3655 (X)
  1805.  
  1806. Dick,
  1807.  
  1808.   Have you tried adding the command line option "-i c:\win\pdoxwin.ini" to
  1809. your Program Item Properties?
  1810.  
  1811. David
  1812.  
  1813. #: 31519 S4/Forms
  1814.     28-May-93  11:37:56
  1815. Sb: #CtrlZ/Locate problem
  1816. Fm: David Segal 76545,1730
  1817. To: Sysop (X)
  1818.  
  1819. I have a table with two key fields, and a form in which this table appears in
  1820. a table frame. The key fields are Cust and Ord. I use order/range to restrict
  1821. my view to a single customer's records. I then find that Ctrl-Z doesn't work
  1822. on the Ord field. For that matter, neither does oPal's Locate command.
  1823.  
  1824. Would you like to see my test data for this?
  1825.  
  1826. --  David
  1827.  
  1828. * Reply:  31620
  1829.  
  1830. #: 31620 S4/Forms
  1831.     28-May-93  16:15:56
  1832. Sb: #31519-#CtrlZ/Locate problem
  1833. Fm: Quinn Wildman (Sysop) 76703,3033
  1834. To: David Segal 76545,1730 (X)
  1835.  
  1836. When you do a locate, it operates on the current set of records. In that
  1837. you've done a Order/Range to select a single customer, only that customer can
  1838. be found.  So, what you need to is do an order/range to select all records
  1839. before doing control-z.
  1840.  
  1841. * Reply:  31654
  1842.  
  1843. #: 31654 S4/Forms
  1844.     28-May-93  19:39:53
  1845. Sb: #31620-#CtrlZ/Locate problem
  1846. Fm: David Segal 76545,1730
  1847. To: Quinn Wildman (Sysop) 76703,3033 (X)
  1848.  
  1849. Quinn,
  1850.  
  1851. I think I'm not getting my point across. Try the following, using Paradox
  1852. interactively, and you will see what I mean:
  1853.  
  1854. 1. Create this table. Make BOTH fields keyed:
  1855.  
  1856.       Cust   Ord
  1857.       -----  -----
  1858.         A      1
  1859.         A      2
  1860.         B      1
  1861.         B      2
  1862.         B      3
  1863.         B      4
  1864.  
  1865. 2. Place it in a table frame on a form.
  1866.  
  1867. 3. Go to the data model and set order/range to limit the current set of
  1868.    records to just customer B.
  1869.  
  1870. 4. Now, run the form. You should see the four records for customer B.
  1871.  
  1872. 5. Move to the Ord field. Do a Ctrl-Z and search for order 1, 2, or 3.
  1873.    Instead of finding any of them, the cursor will end up on order 4.
  1874.  
  1875. If you test this and don't find a problem, I can upload my sample table on
  1876. which you will see the problem that I'm getting.  Meanwhile, thanks for the
  1877. response.
  1878.  
  1879. --  David
  1880.  
  1881. * Reply:  32160
  1882.  
  1883. #: 32160 S4/Forms
  1884.     01-Jun-93  15:48:23
  1885. Sb: #31654-#CtrlZ/Locate problem
  1886. Fm: Rick Fillman (Sysop) 76702,273
  1887. To: David Segal 76545,1730 (X)
  1888.  
  1889. I followed your steps (message 31654) and I don't see any
  1890. problem.  Have you tried the same steps FROM SCRATCH?  Using a
  1891. brand new table and brand new form?
  1892.  
  1893. If you try (again) from scratch, and you STILL have the, then
  1894. upload that version to me.
  1895.  
  1896. Better yet .. look in your CIS E-mail.  I'm sending you a tiny
  1897. ZIP file that show the results of my following your step.  Let me
  1898. know how the Ctrl-Z works with thatWhichIHaveSentYou.
  1899.  
  1900.      Rick Fillman, Tech Support (Borland)
  1901.  
  1902. * Reply:  32596
  1903.  
  1904. #: 32596 S4/Forms
  1905.     02-Jun-93  21:19:56
  1906. Sb: #32160-CtrlZ/Locate problem
  1907. Fm: David Segal 76545,1730
  1908. To: Rick Fillman (Sysop) 76702,273 (X)
  1909.  
  1910. Rick,
  1911.  
  1912. I received the sample table and form you sent me. When I worked with it I
  1913. noticed you did things a bit different than me, and in the process you
  1914. resolved my problem.
  1915.  
  1916. However, there is still a minor glitch which you might want to investigate. It
  1917. shows up when you use a range, as I did. To see it, set order/range in the
  1918. Test form you sent me to the Cust *range* of B to B. Then you should see the
  1919. problem I ran into with Ctrl-Z in the Ord field.
  1920.  
  1921. Thanks for your help.
  1922.  
  1923. --  David
  1924.  
  1925. #: 31520 S4/Forms
  1926.     28-May-93  11:41:59
  1927. Sb: #Pdoxwin & custom methods
  1928. Fm: Conrad Larkin 70760,3530
  1929. To: all
  1930.  
  1931. Q1:  Is there an event that is triggered when a
  1932.    hidden form is redisplayed using Form.BringtoTop()?
  1933.  
  1934. Q2:  After opening a form, how can a custom method on
  1935.    that form be run prior to issuing a Form.wait()?
  1936.    (The custom method is attached at the form level)
  1937.  
  1938. * Reply:  31568
  1939.  
  1940. #: 31568 S4/Forms
  1941.     28-May-93  13:37:33
  1942. Sb: #31520-#Pdoxwin & custom methods
  1943. Fm: Bill Todd (Kallista) 75046,1345
  1944. To: Conrad Larkin 70760,3530 (X)
  1945.  
  1946. Conrad,
  1947.  
  1948. Q1.  I have not tried this with a hidden form and bring to top but you should
  1949. get a setFocus event.
  1950.  
  1951. Q2.  How about:
  1952.  
  1953. f.open("myForm") f.myMethod() f.wait()
  1954.  
  1955. Bill
  1956.  
  1957. #: 31531 S3/Tables/TableView
  1958.     28-May-93  12:06:47
  1959. Sb: Print file structures?
  1960. Fm: Dan Ehrmann (TeamB) 70007,4644
  1961. To: Peter Tosto 70751,1140
  1962.  
  1963. Peter:
  1964.  
  1965. Many people feel the same way as you do that the tools built into PdoxWin to
  1966. document applications, tables, etc. are inadequate.
  1967.  
  1968. I know of at least 6 companies working on documentation addin tools, many of
  1969. which should be available in the next 3-4 months.  Perhaps you can get
  1970. involved in someone's beta test.  Until then, you may be SOL.
  1971.  
  1972. Alternatively, it probably won't take too much effort to create some simple
  1973. tools yourself.  ObjectPAL contains a number of "enum...()" methods which dump
  1974. details about objects, tables, indexes, etc. to arrays which can then be
  1975. written to tables.  A reasonably proficient ObjectPAL programmer could put
  1976. some basic tools, without the fancy UI and error checking necessary for a
  1977. commercial app, in a couple of days work.
  1978.  
  1979.  
  1980. [Dan -> ]
  1981.  
  1982. #: 31548 S1/Miscellaneous
  1983.     28-May-93  12:37:23
  1984. Sb: Delivering a system
  1985. Fm: Glenn Jones [PIC] 76244,402
  1986. To: Jane Holloway 72557,540 (X)
  1987.  
  1988. Jane:
  1989.  
  1990. Regarding your problem with ODAPI being busy, this is a problem that will
  1991. occur whenever PFW chokes on a GP.  The only way around the problem right now
  1992. is to leave and restart Windows.  You shouldn't have to reboot your PC.
  1993.  
  1994. #: 31552 S1/Miscellaneous
  1995.     28-May-93  12:50:25
  1996. Sb: #Delivering a system
  1997. Fm: Steve Neverve (Sysop) 71333,114
  1998. To: Jane Holloway 72557,540 (X)
  1999.  
  2000. Jane,
  2001.  
  2002. You will not need to reinstall.  Here's what's happening. GPF's are caused by
  2003. memory conflicts; they are memory errors.  Once you receive a GPF, Windows
  2004. will be unstable.  Therefore, you must exit Windows and restart Windows.
  2005. This is why you are getting the "directory is busy" error.
  2006.  
  2007. Try adding:
  2008.  
  2009. EMMEXCLUDE=A000-C7FF
  2010.  
  2011. to the 386Enh section of the users System.INI.  If this does not solve the
  2012. problem, remove all memory resident programs.  Finally, refer to TI1283.ZIP
  2013. in LIB1 for information on simplifying your Windows system.
  2014.  
  2015. Steve
  2016.  
  2017. * Reply:  31811
  2018.  
  2019. #: 31811 S1/Miscellaneous
  2020.     30-May-93  16:32:35
  2021. Sb: #31552-#Delivering a system
  2022. Fm: David Hayes 74740,2547
  2023. To: Steve Neverve (Sysop) 71333,114 (X)
  2024.  
  2025. Steve,
  2026.  
  2027. In your reply to Jane about some General Protection Faults you gave her this
  2028. fix:
  2029.  
  2030. EMMEXCLUDE=A000-C7FF
  2031.  
  2032. To be added to her system.ini.
  2033.  
  2034. I too am getting some GPF's having to do with my USER.EXE file..
  2035.  
  2036.  
  2037. Is this a standard fix that might help my machine?
  2038.  
  2039. Dave.
  2040.  
  2041. * Reply:  32136
  2042.  
  2043. #: 32136 S1/Miscellaneous
  2044.     01-Jun-93  15:07:53
  2045. Sb: #31811-Delivering a system
  2046. Fm: Steve Neverve (Sysop) 71333,114
  2047. To: David Hayes 74740,2547 (X)
  2048.  
  2049. David,
  2050.  
  2051. "EMMEXCLUDE=" is a parameter that you can add to exclude memory in your
  2052. System.ini.  The A000-C7FF is a generic range that should be used only when
  2053. you do not know the range the your video drivers use.  Oh ya, yes, you can
  2054. use this.  You may also want to refer to TI1283.ZIP in LIB1 for more
  2055. information on simplifying your system.  You can find more info on
  2056. EMMEXCLUDE in you Windows 3.1 User's Guide.
  2057.  
  2058. Steve
  2059.  
  2060. #: 31564 S3/Tables/TableView
  2061.     28-May-93  13:21:54
  2062. Sb: #slow locates?
  2063. Fm: Robert Larson 71075,1366
  2064. To: all
  2065.  
  2066. I'm in the process of switching over to PW from 4.0. In 4.0 I've enjoyed being
  2067. able to switch into a secondary index view of a table and Zoom instananeously
  2068. to any record. Now when I try the same function in PW its slow. Very slow.
  2069. Instead of instantly jumping to a record it takes almost 10 seconds. I used
  2070. Order/Range to view the table by my secondary index. It feels like Paradox
  2071. isn't using the index but rather doing a sequential search. Did I miss a step?
  2072. I've tried restructuring the table. I've also noticed I have the same problem
  2073. Locating in my primary index field. What's up? Is this just a feature that
  2074. wasn't done well in PW? Help. thnx.
  2075.  
  2076. robert
  2077.  
  2078. * Reply:  32096
  2079.  
  2080. #: 32096 S3/Tables/TableView
  2081.     01-Jun-93  12:47:52
  2082. Sb: #31564-#slow locates?
  2083. Fm: David Orriss Jr(Sysop) 75300,1414
  2084. To: Robert Larson 71075,1366 (X)
  2085.  
  2086. Robert,
  2087.  
  2088.   Use Set Order/Range or SetFilter.  These will use the secondary index.
  2089. Hope this helps.
  2090.  
  2091. David
  2092.  
  2093. * Reply:  32435
  2094.  
  2095. #: 32435 S3/Tables/TableView
  2096.     02-Jun-93  11:00:27
  2097. Sb: #32096-#slow locates?
  2098. Fm: Robert Larson 71075,1366
  2099. To: David Orriss Jr(Sysop) 75300,1414 (X)
  2100.  
  2101. <<  Use Set Order/Range or SetFilter.  These will use the secondary index. >>
  2102.  
  2103. uh..huh.....now what? it still goes slow. When I do ALT-S on a field in
  2104. Pdox4.0 and then do a Ctrl-Z to a value in a 8000 record table, Pdox4.0
  2105. INSTANTLY goes to the record. Blink of an eye. No time at all.
  2106.  
  2107. When I do the same thing in PW it takes about 10 seconds to go to a value.
  2108.  
  2109. What is up??
  2110.  
  2111. Robert
  2112.  
  2113. * Replies:  32457, 32462
  2114.  
  2115. #: 32457 S3/Tables/TableView
  2116.     02-Jun-93  12:21:45
  2117. Sb: #32435-slow locates?
  2118. Fm: David Orriss Jr(Sysop) 75300,1414
  2119. To: Robert Larson 71075,1366
  2120.  
  2121. Robert,
  2122.  
  2123.   Perhaps I wasn't clear on that.  If you want to locate a specific value in
  2124. a field quickly, view the table.  Then from the Table menu select
  2125. "Order/Range".  Next, select the Secondary Index you want to use from the
  2126. "Index" list.  Then, type in the value you want to locate in the "Field
  2127. Values" prompt.  This will find the value almost instantly.
  2128.  
  2129. David
  2130.  
  2131. #: 32462 S3/Tables/TableView
  2132.     02-Jun-93  12:22:41
  2133. Sb: #32435-slow locates?
  2134. Fm: Brian Bushay (TeamB) 76711,516
  2135. To: Robert Larson 71075,1366
  2136.  
  2137. Robert
  2138.  
  2139.  
  2140. >When I do the same thing in PW it takes about 10 seconds to go to a value.
  2141. >What is up??
  2142.  
  2143. Unfortunately PdoxWin does not use indexes for locates/Zooms on values with
  2144. trailing wild cards.  If your using Exact values then make sure you have the
  2145. case sensitive box check if your indexes are case sensitive.
  2146.  
  2147. As David indicated in his original message if you use and Order/Range
  2148. instead of a Zoom/Locate you will go right to the value using the index
  2149.  
  2150. Brian
  2151.  
  2152. #: 31585 S1/Miscellaneous
  2153.     28-May-93  14:00:45
  2154. Sb: #Slow operation
  2155. Fm: Wayne Orth 70274,2771
  2156. To: Sysop (X)
  2157.  
  2158. (Because I didn't get a response to my first posting on Wed, I
  2159. am submitting this same message a second time in hopes of a
  2160. response of some kind.)
  2161.  
  2162. ----------------------------
  2163.  
  2164. Dear Borland,
  2165.  
  2166. We have recently received Paradox for Windows and I have a few
  2167. questions.  We bought PFW because we figured that a real Windows
  2168. database would be better than a DOS database running in a DOS
  2169. box within Windows.  We currently have Paradox 4.0 for DOS.
  2170. However, even on an 8MB 386SX, a simple query of a 1200 record
  2171. table takes about 1 minute, while with PDOX40, it takes 10 sec.
  2172. If performance is going to be this much worse, then this won't be
  2173. acceptable for us.  We are running PFW from a Netware 3.11 server,
  2174. while each PC has its own copy of Windows 3.1.  Is it because we
  2175. run this from the server that it acts so slow?  The 8MB PC has the
  2176. ODAPI min buffer set to 2048 and max buffer set to 6144.  I have
  2177. optimized as much as I can using other messages on here as well as
  2178. TechFax Document 1281.  Unlike others, we do not seem to have any
  2179. problems with GPF's or starting problems.
  2180.  
  2181. Any help would be greatly appreciated.
  2182.  
  2183. Sincerely,
  2184. Wayne Orth
  2185. Frontier Technologies Corp.
  2186.  
  2187. * Replies:  31678, 31743, 32103
  2188.  
  2189. #: 31678 S1/Miscellaneous
  2190.     29-May-93  04:19:48
  2191. Sb: #31585-Slow operation
  2192. Fm: Richard Wagner (TeamB) 71333,2031
  2193. To: Wayne Orth 70274,2771 (X)
  2194.  
  2195. Wayne,
  2196.  
  2197. Others may jump in with some additional info, but let me offer some comments.
  2198.  
  2199. First, PdoxDOS will generally perform faster on many operations, such as
  2200. queries. I would add, however, that this performance difference is enhanced
  2201. when you run Pdoxwin on a 386SX (as compared to a 486). Pdoxwin is a great and
  2202. powerful DBMS but it does demand more hardware power than its DOS counterpart.
  2203.  
  2204. Second, running Pdoxwin off the network is slower than if it is installed on a
  2205. local hard drive.
  2206.  
  2207.                                        Richard Wagner
  2208.  
  2209. #: 31743 S1/Miscellaneous
  2210.     29-May-93  22:29:18
  2211. Sb: #31585-Slow operation
  2212. Fm: Dan Ehrmann (TeamB) 70007,4644
  2213. To: Wayne Orth 70274,2771
  2214.  
  2215. Wayne:
  2216.  
  2217. In addition to Richard's reply, make sure you have a maintained secondary
  2218. index on the fields used for exact match selection criteria.
  2219.  
  2220.  
  2221. [Dan -> ]
  2222.  
  2223. #: 32103 S1/Miscellaneous
  2224.     01-Jun-93  13:06:18
  2225. Sb: #31585-#Slow operation
  2226. Fm: Brian Reed (Sysop) 71333,2360
  2227. To: Wayne Orth 70274,2771
  2228.  
  2229. Wayne,
  2230.  
  2231. Sorry about losing you in the shuffle.  Yes, Paradox is going to run slower
  2232. when running it from the server.  If you have room I'd recommend installing it
  2233. to a local drive.  Also, try dropping the max buffer to 4096.
  2234.  
  2235. Brian Reed (sysop)
  2236.  
  2237. * Reply:  32710
  2238.  
  2239. #: 32710 S1/Miscellaneous
  2240.     03-Jun-93  10:35:41
  2241. Sb: #32103-Slow operation
  2242. Fm: Weylan Wang -(Sysop)- 76702,1067
  2243. To: Brian Reed (Sysop) 71333,2360 (X)
  2244.  
  2245. Also try moving the private directory to the local system if you have the disk
  2246. space.  That can speed up systems also.
  2247.         -(Weylan Wang)-
  2248.         -(Borland Paradox Technical Support)-
  2249.  
  2250. #: 31605 S3/Tables/TableView
  2251.     28-May-93  15:16:08
  2252. Sb: #Cannot create struct.db
  2253. Fm: Will Estes 74776,3676
  2254. To: SYSOP (X)
  2255.  
  2256. I am having problems restructuring a table.  I go to
  2257. do a restructure and I get the message:
  2258.      "Cannot create struct.db"
  2259. This is not a real informative message.  I gather the
  2260. real issue is that Paradox is trying to copy the table
  2261. to a temporary location where it does the restructure
  2262. and then copies it back to the original directory.
  2263. Where does Paradox copy the table?  So far two calls
  2264. to 408-461-9166 resulted in two different answers.
  2265. One technician told me the table was copied to the
  2266. directory pointed to by the TEMP environment variable.
  2267. Another technician told me it gets copied to the PDOXWIN
  2268. :PRIV: directory.  Which is it?
  2269.  
  2270. What are other possible causes of the "Cannot create
  2271. struct.db" message.  The table in question is small.
  2272. Note that other tables in the application restructure without
  2273. a problem, so it seems to be specific to this table.
  2274.  
  2275. Thanks,
  2276. Will
  2277.  
  2278. * Reply:  31637
  2279.  
  2280. #: 31637 S3/Tables/TableView
  2281.     28-May-93  17:28:17
  2282. Sb: #31605-#Cannot create struct.db
  2283. Fm: Will Estes 74776,3676
  2284. To: Will Estes 74776,3676 (X)
  2285.  
  2286. As a follow-up to my own message, the machine on which I get the
  2287. "cannot create struct.db" message has 26 megs available in
  2288. the temp directory and 189 megs available on the network
  2289. disk where the :PRIV: directory is stored.  The table I am
  2290. trying to restructure is only about 20K in size, and the entire
  2291. set of 20 tables in this database system amounts to less than
  2292. three megs.  So I don't think it is strictly a space shortage
  2293. problem.
  2294. Note #2: When I take this identical set of tables over to
  2295. my machine (in a different office on a different network),
  2296. I am able to restructure the table in question without
  2297. a problem.
  2298. Suggestions on why I am getting the error message and how to
  2299. work around it on the machine were I get that error message?
  2300. Thanks,
  2301. Will
  2302.  
  2303. * Reply:  31680
  2304.  
  2305. #: 31680 S3/Tables/TableView
  2306.     29-May-93  04:19:58
  2307. Sb: #31637-#Cannot create struct.db
  2308. Fm: Richard Wagner (TeamB) 71333,2031
  2309. To: Will Estes 74776,3676 (X)
  2310.  
  2311. Will,
  2312.  
  2313. One possible idea...
  2314.  
  2315. Are you certain that your PRIV directory on the network is *yours* alone? If
  2316. someone else has that directory set as their PRIV directory, then you would be
  2317. unable to use it as your PRIV dir. In that case, you would probably get that
  2318. message, because it creates the STRUCT.DB in your PRIV dir.
  2319.  
  2320.                                        Richard Wagner
  2321.  
  2322. * Reply:  31988
  2323.  
  2324. #: 31988 S3/Tables/TableView
  2325.     31-May-93  22:07:48
  2326. Sb: #31680-#Cannot create struct.db
  2327. Fm: Will Estes 74776,3676
  2328. To: Richard Wagner (TeamB) 71333,2031 (X)
  2329.  
  2330. Hi Richard.  I didn't really understand your question regarding
  2331. the :PRIV: directory really being mine alone.  The directory
  2332. in on Novell, and no one else except someone logged in as me
  2333. would have access to it.  I was not logged in twice, and I just
  2334. verified this another time.
  2335. However, I tried to log in twice, and when I do, both of those
  2336. accounts have read/write access to that directory.  Of course
  2337. you would expect that from a Novell shared disk, right?
  2338. Why would having another user accessing that directory prevent
  2339. me from creating struct.db?
  2340. Thanks,
  2341. Will
  2342.  
  2343. * Reply:  32004
  2344.  
  2345. #: 32004 S3/Tables/TableView
  2346.     31-May-93  23:40:08
  2347. Sb: #31988-#Cannot create struct.db
  2348. Fm: Richard Wagner (TeamB) 71333,2031
  2349. To: Will Estes 74776,3676 (X)
  2350.  
  2351. Will,
  2352.  
  2353. Paradox requires that each user have a unique private directory to store such
  2354. things as answer tables, etc. It must be unique -- otherwise what would happen
  2355. if two users had the same private directory and tried to run a query at the
  2356. same time. Since Pdox puts the query results in :PRIV:ANSWER.DB, one of the
  2357. user's answer table would be overwritten by the other. This is but a single
  2358. example, but I hope it does make evident the need for each user to have a
  2359. unique private directory.
  2360.  
  2361. If two people have the same directory marked as private, the first user to run
  2362. Pdoxwin gets that directory. The other user is not able to use it as a private
  2363. directory (because Pdoxwin enforces this). As a result, you could potentially
  2364. get that error message stating that it cannot create that file in that
  2365. directory.
  2366.  
  2367.                                        Richard Wagner
  2368.  
  2369. * Reply:  32120
  2370.  
  2371. #: 32120 S3/Tables/TableView
  2372.     01-Jun-93  14:35:28
  2373. Sb: #32004-Cannot create struct.db
  2374. Fm: Will Estes 74776,3676
  2375. To: Richard Wagner (TeamB) 71333,2031 (X)
  2376.  
  2377. Ah, okay, but in this case the problem is two users trying
  2378. to both run Paradox using the same private directory, and not
  2379. two users simply having access to the same private directory.
  2380. In any case, this is not the problem because I have verified
  2381. that I get this message whether or not there are two users
  2382. logged into Netware with the same userid.
  2383. Will
  2384.  
  2385. #: 31627 S1/Miscellaneous
  2386.     28-May-93  16:53:07
  2387. Sb: #Large DBF Files
  2388. Fm: Ray Hagstrom 72060,1443
  2389. To: Sysop (X)
  2390.  
  2391. I am having a hard time getting proper access to certain large *.DBF files
  2392. from the Bureau of the Census.  The files load and display fine, but queries
  2393. are flaky.  The simplests query, for instance to find all occurences of a
  2394. specific
  2395. numerical value in an integer field fails, even though there is a perfect
  2396. match
  2397. among the first dozen records.  The search for the identical value always
  2398. seems to suceed, producing dozens of successful matches, including the one at
  2399. the top of the file.
  2400.  
  2401. The file in question is on the largish size (about 25MB) and, although it
  2402. originates on a CD-ROM, the query does not succeed when the file is copied
  2403. onto a hard disk, either.
  2404.  
  2405. This failure is threatening a possible installation at multiple sites for a
  2406. largish hamburger retailer headquartered near Chicago.
  2407.  
  2408. * Reply:  32140
  2409.  
  2410. #: 32140 S1/Miscellaneous
  2411.     01-Jun-93  15:08:13
  2412. Sb: #31627-Large DBF Files
  2413. Fm: Steve Neverve (Sysop) 71333,114
  2414. To: Ray Hagstrom 72060,1443
  2415.  
  2416. Ray,
  2417.  
  2418. Please post in the proper section in the future to ensure that quickest
  2419. possible response.  Section 6 is dedicated to queries and is supported by
  2420. query experts.  Please read section 6 for a response.
  2421.  
  2422. Your post says that a search for identical values succeeds.  It then states
  2423. that you query fails when you search for a particular value.  Can you
  2424. explain in a little more detail.  Do you have any fields checked?  Does the
  2425. value that you are searching for exist for each checked field.  Was this file
  2426. created in dBASE?  Try coping the table to a .DB file (File | Utilities |
  2427. Copy | From and specify your .DBF file.  Now, choose To and specify TEST.DB.
  2428. Test will be the new table name.  You can give it a different name if you
  2429. wish.  Does you query work with the .DB file?
  2430.  
  2431. Steve
  2432.  
  2433. #: 31635 S1/Miscellaneous
  2434.     28-May-93  17:07:59
  2435. Sb: HowTo Import ASCII files
  2436. Fm: Richard R. Ulyate 72406,204
  2437. To: ALL
  2438.  
  2439. While scanning the forum messages yesterday in search of a way to load ASCII
  2440. files using OPAl, one of them mentioned the breakApart method.  That was the
  2441. key(this method should also be cross- referenced under "parse").  For those
  2442. who are similarly perplexed here is the metholodoly I used to get a comma
  2443. delimited(without quotation marks) ASCII file into an existing,but empty
  2444. table: a) open a text file using a TestStream variable b) use readline to
  2445. place the text into a string array c) calculate the number of array items
  2446. using size() d) using a from-to loop read each array item into a string e) use
  2447. the breakapart method to parse that string into another array f) open the
  2448. target database using a tCursor,edit, insert a record
  2449.       thne copyfromarray using that second array designator, then
  2450.       end the edit g) the looping continues until every element in the first
  2451. array
  2452.    has been broken up. h) the ASCII file data now resides in your target
  2453. database NOTE: the ASCII file should not have any quotation marks as they
  2454. would be included in the Pdox table if they were there. [A
  2455.  
  2456. Reply to this if you need further explanation.  Good Luck! /EXIT
  2457.  
  2458. #: 31641 S1/Miscellaneous
  2459.     28-May-93  17:36:59
  2460. Sb: #Tech Supp: Pdx Err Msg
  2461. Fm: David Orme (T-Wack) 70402,523
  2462. To: Sysop (X)
  2463.  
  2464. All,
  2465.  
  2466. I often get the error message, "Cannot read from Drive C" in a large white
  2467. Windows Critical Error Message dialog box after I have been using Paradox for
  2468. Windows for awhile.  It seems to occur especially when I have been doing a lot
  2469. of table restructuring and ref. integrity modification.
  2470.  
  2471. Exiting Paradox for Windows and restarting it seems to temporarily clear up
  2472. the problem when it begins to reoccur.  Also, I have never lost data when this
  2473. has occured although I have had to delete *.val and redo my valchecks and ref
  2474. integ approx 3 times now on this same project.
  2475.  
  2476. Is there something in my configuration that could cause this message to occur
  2477. on a regular (almost daily) basis?
  2478.  
  2479. Thanks in advance for all of your help!
  2480.  
  2481.  
  2482. Regards, Dave Orme (T-Wack Software Group, Chicago)
  2483.  
  2484. #: 32075 S1/Miscellaneous
  2485.     01-Jun-93  12:03:52
  2486. Sb: #31679-Tech Supp: Pdx Err Msg
  2487. Fm: David Orme (T-Wack) 70402,523
  2488. To: Richard Wagner (TeamB) 71333,2031 (X)
  2489.  
  2490. Richard,
  2491.  
  2492. >> Does this problem occur only in PdoxWin? <<
  2493.  
  2494. I've only seen it in PdoxWin.
  2495.  
  2496.  
  2497. Regards, Dave
  2498.  
  2499. #: 32295 S1/Miscellaneous
  2500.     01-Jun-93  19:36:23
  2501. Sb: #31679-#Tech Supp: Pdx Err Msg
  2502. Fm: Mike Irwin/Co-Assist 100114,1437
  2503. To: Richard Wagner (TeamB) 71333,2031 (X)
  2504.  
  2505. Richard,
  2506.  
  2507. it's happened to people with a variety of machines that I've seen. Sometimes
  2508. it seems like its a combination of PcKwik and Stacker, but on other occasions
  2509. not ...
  2510.  
  2511. Mike
  2512.  
  2513. * Reply:  32639
  2514.  
  2515. #: 32639 S1/Miscellaneous
  2516.     03-Jun-93  00:29:33
  2517. Sb: #32295-#Tech Supp: Pdx Err Msg
  2518. Fm: Richard B. Williams 71760,1200
  2519. To: Mike Irwin/Co-Assist 100114,1437
  2520.  
  2521. PMFJI I had exactly those symptoms when I failed to load share with the proper
  2522. parameters.  The /l: and the /f: switches must be set as per the readme file.
  2523. Also need to check to be sure that file= is big, like 85 or 100 or so.
  2524.  
  2525. RBW
  2526.  
  2527. * Reply:  32688
  2528.  
  2529. #: 32688 S1/Miscellaneous
  2530.     03-Jun-93  09:32:39
  2531. Sb: #32639-Tech Supp: Pdx Err Msg
  2532. Fm: David Orme (T-Wack) 70402,523
  2533. To: Richard B. Williams 71760,1200
  2534.  
  2535. Richard,
  2536.  
  2537. Well, I'm not using either Stacker or PCKwick, but I did adjust config.sys
  2538. last Friday in the manner you just described.  Hmmmm....  Now that I think of
  2539. it, I don't think I've seen that error message since last Thursday...
  2540.  
  2541. We'll have to see if that fixed it!  If so, I'll be extremely happy!
  2542.  
  2543.  
  2544. Regards,
  2545.  
  2546. Dave Orme (T-Wack Software Group, Chicago)
  2547.  
  2548. #: 31651 S4/Forms
  2549.     28-May-93  19:17:33
  2550. Sb: DOS file limitations
  2551. Fm: Woody Splawn 73627,3541
  2552. To: All
  2553.  
  2554. Some time ago there was the general opinion in the Pdox 4.0 world that it was
  2555. better not to try and write applications with everything in one directory.
  2556. The primary reason for this was because of a DOS limitation. That is, as I
  2557. remember it, after about 250 files in any particular directory the speed of
  2558. DOS begins to degenerate quickly.
  2559.  
  2560. My question is this.  Does anyone know if this is still true?.  That is, is
  2561. there any difference with DOS 5.0, for example?  I am asking because it would
  2562. be easier in PW to do as much as you can from one directory but I am concerned
  2563. about going over some DOS limit on a stand alone machine and having the code
  2564. slow to a crawl.
  2565.  
  2566. Thank You
  2567.  
  2568. Woody
  2569.  
  2570. #: 31669 S2/Install/CFG/HrdWare
  2571.     28-May-93  23:35:21
  2572. Sb: #Net Config Novell v NT
  2573. Fm: Carter Andrews 70651,2513
  2574. To: Randy Spitz (sysop) 76702,1315 (X)
  2575.  
  2576. Karen was excited to meet you at the big confab. Thank you for your support.
  2577.  
  2578. We are maintaining a database with 8,000 records in the parent (15+ fields per
  2579. record, incl memo field) linked to another 15,000 records (10 fields per
  2580. record) in the child with referential integrity. Two people are always on the
  2581. phone verifying and updating information. The list may well double in size. We
  2582. are running PdoxWin local with Windows local.
  2583.  
  2584. We are now peer to peer with Windows for Workgroups.The computer holding the
  2585. database files (486 33 w/ 16 meg ram 256K motherboard cache ISA bus) is being
  2586. used for for word processing and spreadsheets. A total of seven stations share
  2587. files and printers. The other computers are from 386SX to 486DX50 with 8 to
  2588. 16mb ram each. Network cards are 16 bit Artisoft Ethernet II with coax.
  2589.  
  2590. We need to upgrade to make things faster. Our input people spend a lot of time
  2591. waiting. We do not seem to be able to do queries from the "server" without
  2592. either locking up or taking forever, and we need to be able to do queries
  2593. while the inputting is going on. We will continue growing the company and
  2594. needing to add to the network. We want to be able to continue to grow our
  2595. network by ourselves with as few growth pains as possible.
  2596.  
  2597. Questions:
  2598.  
  2599. We think we should wait for Windows NT because it looks like it will be easy
  2600. to use and upgrade to since we're familiar with Windows for Workgroups. Will
  2601. Windows NT satisfy our desire to get a faster, fairly simple, more stable
  2602. platform? Will NT's speed compare adequately to Novell 4?
  2603.  
  2604. Is it time to bit the bullet and get a dedicated server? If so, how should we
  2605. configure it? Should it hold only the database files and the network files?
  2606. Will an upgrade to a dedicated server make more difference in speed than
  2607. moving up to NT?
  2608.  
  2609. Thank you for our thoughts.
  2610.  
  2611. Carter
  2612.  
  2613. * Reply:  31793
  2614.  
  2615. #: 31793 S2/Install/CFG/HrdWare
  2616.     30-May-93  14:39:37
  2617. Sb: #31669-Net Config Novell v NT
  2618. Fm: Jon Asher (Sysop) 71333,2146
  2619. To: Carter Andrews 70651,2513 (X)
  2620.  
  2621. Hi Carter-
  2622.  
  2623. If you're in a network environment with two or more users constantly accessing
  2624. a database, and a number of users intermittently accessing the database, you
  2625. would almost certainly benefit from a dedicated file server.  For optimal
  2626. configuration, place only the tables on the server, while installing Paradox
  2627. for Windows locally on each workstation. You could further speed-up your
  2628. network by adding even more RAM to the server.
  2629.  
  2630. It's difficult for me to answer your other questions because we have done very
  2631. little testing with unreleased Windows NT in a network setup.  So I cannot
  2632. compare it with other configurations.  But based on the large overhead of
  2633. Windows NT, you would probably need significant increases in the amount of RAM
  2634. on each system to reach your current level of performance.  Windows NT is not
  2635. a simpler operating system.
  2636.  
  2637. Jon
  2638.  
  2639. #: 31687 S4/Forms
  2640.     29-May-93  09:11:52
  2641. Sb: Secondary Indexes
  2642. Fm: Steve Medley 100026,1077
  2643. To: Randy Sell 75300,2147 (X)
  2644.  
  2645. Randy,  Please bear with me.
  2646.  
  2647. Can you Help with the following:
  2648.  
  2649. TABLE Structure
  2650.         Site Number             S*
  2651.         Site Name               A20 (Maintained Secondary Index)
  2652.         Other details - unimportant
  2653. Approx 2500 Records
  2654.  
  2655. REQUIREMENT
  2656. To let the user type in a partial string of characters of the Site name field,
  2657. to be presented with a list of sites that match the selection criteria. The
  2658. string can be any set a squential characters and in any position (Not
  2659. necessarily the First position).
  2660.  
  2661. MY SOLUTION
  2662. Is to accept a string of characters from the user and build up a field with
  2663. preceeding and suceeding "..", such as "..ASH..". This variable is placed into
  2664. a query and executed. A multi record form is when displayed linking the Answer
  2665. table.
  2666.  
  2667. This process works with interesting results. The first time it is executed it
  2668. takes about 20 secs and subsequent executions take about 2 secs. I can only
  2669. assume that Pdoxwin is holding the secondary index in the Cache or table
  2670. buffer. Secondly, I wouldn't have thought a secondary index would be of great
  2671. benefit in this situation as the selected chars may well be in any position
  2672. within the field.
  2673.  
  2674. Question.
  2675. 1. Is there a better way to acchieve that above result as this ultimatly has
  2676. to operate on a Lan that has fairly heavy traffic, and is the bane of my life.
  2677.  
  2678.  
  2679. Regards
  2680. Steve Medley
  2681.  
  2682. #: 31700 S1/Miscellaneous
  2683.     29-May-93  11:35:13
  2684. Sb: #Why so difficult?
  2685. Fm: Anthony  J. Rocchio 75210,2266
  2686. To: Stephanie Haas (Sysop) 71333,2145 (X)
  2687.  
  2688. Stephanie,
  2689.  
  2690. I keep getting the message:    Application error
  2691.                                                 PDOXWIN caused a General
  2692. Protection
  2693.                                                 Fault in module USER.EXE at
  2694. 0006:1aa6.
  2695.  
  2696. Any ideas?
  2697.  
  2698. Anthony
  2699.  
  2700. * Reply:  31809
  2701.  
  2702. #: 31809 S1/Miscellaneous
  2703.     30-May-93  16:32:25
  2704. Sb: #31700-Why so difficult?
  2705. Fm: David Hayes 74740,2547
  2706. To: Anthony  J. Rocchio 75210,2266 (X)
  2707.  
  2708. Anthony
  2709.  
  2710. I am getting the same thing.
  2711.  
  2712. If you find out anything let me know..
  2713.  
  2714. Thanks,
  2715.  
  2716. Dave
  2717.  
  2718. #: 31703 S3/Tables/TableView
  2719.     29-May-93  12:05:15
  2720. Sb: #Long Integers?
  2721. Fm: Alan Deikman 70541,507
  2722. To: All
  2723.  
  2724. I am currently struggling to learn Paradox/PAL after over a decade of
  2725. programming dBase,  C, and C++.  If anyone could answer the following, I would
  2726. very much appreciate it:
  2727.  
  2728. 1.  WHY does not Paradox support a "long" integer field (32 bits)?  This would
  2729. be ideal for, say, the key of a file that will probably grow to more than
  2730. 2**15 records.  Examples of this might be a transaction file which has a
  2731. transaction number as the key.  So what is the reccommended alternative?   A)
  2732. put two short integers together as the key field, or B) encode the 32-bit
  2733. number as (sigh) an Alpha field, and zero fill it so it sorts correctly.
  2734.  
  2735. 2. Is there any way to get RIGHT adjusted labels by default on new forms, etc?
  2736.  
  2737. 3. How many bytes does a type "N" field take?  It SEEMS to be more than 8
  2738. bytes.  Is it the 80-bit IEEE format?
  2739.  
  2740. Again, thanks in advance for any information on this intriguing but
  2741. frustrating product.
  2742.  
  2743. * Replies:  31746, 31843
  2744.  
  2745. #: 31746 S3/Tables/TableView
  2746.     29-May-93  22:29:34
  2747. Sb: #31703-Long Integers?
  2748. Fm: Dan Ehrmann (TeamB) 70007,4644
  2749. To: Alan Deikman 70541,507 (X)
  2750.  
  2751. Alan:
  2752.  
  2753. 1)     Use an "N" field for your ID.  It's 8 bytes instead of 4, but it's the
  2754. best alternative. Paradox for Windows supports LongInt types internally, but
  2755. this has not been surfaced as a distinct field type.
  2756.  
  2757. 2)     Open a new form with some labelled fields.  Click until the text object
  2758. is highlighted.  Right-click, then specify "Alignment - Right".  Now, specify
  2759. "Design - CopyToSpeedbar" to copy this prototype to the speedbar for all
  2760. future text objects.
  2761.  
  2762. 3)     See answer to 1) above.
  2763.  
  2764.  
  2765. [Dan -> ]
  2766.  
  2767. #: 31843 S3/Tables/TableView
  2768.     30-May-93  21:24:21
  2769. Sb: #31703-#Long Integers?
  2770. Fm: Randy Minder 73750,3601
  2771. To: Alan Deikman 70541,507 (X)
  2772.  
  2773. Alan,
  2774.  
  2775. Like you, I come from a C background and was used to creating tables with long
  2776. intergers and 4 byte floating point values.  As you know by now, PdoxWin does
  2777. not support them.  I wish very much they did and that's the main reason for
  2778. this message to you (a little hint to Borland <g>).
  2779.  
  2780. Randy
  2781.  
  2782. #: 31705 S1/Miscellaneous
  2783.     29-May-93  12:18:36
  2784. Sb: #No Response from Sysop
  2785. Fm: John H. Klassen 72212,513
  2786. To: Sysop (X)
  2787.  
  2788. Borland Sysop,
  2789.  
  2790. We joined Compuserve because we needed a better way of communicating with
  2791. Paradox support.  It was too expensive to call a toll number and be on hold
  2792. for an hour before talking to support.  On the other hand Borland support
  2793. through CompuServe doesn't seem any better.  We sent a message to you on 5/17
  2794. and still haven't received an answer.  After waiting a week, we finally called
  2795. support from a hotel.  Since we had to pay 75 cents for every attempt to call
  2796. support, our phone bill at the hotel was over $20 and that doesn't include the
  2797. long distance charges!
  2798.  
  2799. What can we expect from you on Compuserve in the future?
  2800.  
  2801. John Klassen
  2802.  
  2803. * Replies:  31744, 31778
  2804.  
  2805. #: 31744 S1/Miscellaneous
  2806.     29-May-93  22:29:24
  2807. Sb: #31705-No Response from Sysop
  2808. Fm: Dan Ehrmann (TeamB) 70007,4644
  2809. To: John H. Klassen 72212,513 (X)
  2810.  
  2811. John:
  2812.  
  2813. Please repost your message here and we will try to answer it.
  2814.  
  2815. Huge messages with many questions and no paragraph breaks are often avoided by
  2816. many of us who support this forum, because they are so difficult to read and
  2817. answer. I'm not justifying your lack of response, simply offering one possible
  2818. reason.
  2819.  
  2820. If you can break a largish message into smaller ones, each asking one
  2821. question, you stand a better chance of getting multiple responses.
  2822.  
  2823.  
  2824. [Dan -> ]
  2825.  
  2826. #: 31778 S1/Miscellaneous
  2827.     30-May-93  11:59:37
  2828. Sb: #31705-No Response from Sysop
  2829. Fm: Mike Irwin/Co-Assist 100114,1437
  2830. To: John H. Klassen 72212,513 (X)
  2831.  
  2832. John,
  2833.  
  2834. I'm not anything (paid) to do with Borland, but I help out here a fair bit, so
  2835. ...
  2836.  
  2837. Borland sponsors a number or fora, of which PdoxWin is one. A number of
  2838. Borland employees are visible (I _believe_ paid-for by Borland) on rthis
  2839. forum, and they accredit themselves as such. There is also another "team",
  2840. called "TeamBorland", made up of volounteers who donate their time freely to
  2841. help others.
  2842.  
  2843. On behalf of all who missed your message (there's been a major conference the
  2844. last couple of weeks !), I apologise: please either re-post your message or
  2845. e-mail it direct to me (if the latter, remember to put a note in the zip file
  2846. saying who it came from !!!
  2847.  
  2848. Mike (Co-Assist Tech Support, Eindhoven, NL)
  2849.  
  2850. #: 31724 S1/Miscellaneous
  2851.     29-May-93  16:41:40
  2852. Sb: #Pdoxwin & Dos 6
  2853. Fm: Arne Snow 72124,3451
  2854. To: All
  2855.  
  2856. Upon installing Dos6 I am unable to use Pdoxwin. I am using a 386 DX40 with 4
  2857. megs of ram. I was able Pdoxwin under Dos 5. Now I get an Insuffiecient Memory
  2858. message and Pdoxwin refuses to even load or. Pdoxwin caused a not present
  2859. fault in Module KRNL 386.exe at 0002:098D. Sometimes Pdoxwin will load but it
  2860. is so slow I could go out for dinner while it changes screens.  Has any one
  2861. else experienced these problems. I am a new user to Paradox and had been
  2862. looking forward to developing applications. Now I may have to go back to
  2863. Access with where my applications run fine in DOS6
  2864.  
  2865. * Reply:  31794
  2866.  
  2867. #: 31794 S1/Miscellaneous
  2868.     30-May-93  15:17:47
  2869. Sb: #31724-#Pdoxwin & Dos 6
  2870. Fm: Brian Bushay (TeamB) 76711,516
  2871. To: Arne Snow 72124,3451 (X)
  2872.  
  2873. Arne
  2874.  
  2875. >Upon installing Dos6 I am unable to use Pdoxwin. I am using a 386 DX40 with 4
  2876.  
  2877. There are a couple of common problems that Dos 6.0 causes when you install
  2878. it.  First is ignores current settings for SmartDrv.exe and will install
  2879. this disk cache with default parameters.  PdoxWin is a tight fit on a 4 meg
  2880. machine you can't afford to allocate too much memory to Smartdrv.exe
  2881.  
  2882. I recoment you use
  2883.  
  2884. SmartDrv.exe 512,256 in your Autoexec.bat
  2885.  
  2886. As second problem that Dos 6.0 cases it to mess up your Windows swap file.
  2887. You need a 4-6 meg perminant swapfile and the swapfile needs to be on an
  2888. uncompressed drive.
  2889.  
  2890. Brian
  2891.  
  2892. #: 34089 S1/Miscellaneous
  2893.     09-Jun-93  12:24:46
  2894. Sb: #32843-#Pdoxwin & Dos 6
  2895. Fm: GRANT R. CYNOR 72110,3272
  2896. To: Brian Reed (Sysop) 71333,2360
  2897.  
  2898. I'm running Dos 6 with Memaker on Novell 3.11.  Before upgrading to Dos 6,
  2899. Pdoxwin worked fine, now when I work on my forms applications, my machine
  2900. hangs on the "hourglass" and says Compiling down in the message line when I
  2901. save the form.  Also when I "EditPaste from file" text from large queries and
  2902. run the syntax check these errors pop up:
  2903.  
  2904. 1.      Divide by zero or Overflow Error
  2905. 2.      pxdvieww.dll at 000a:13d1
  2906. 3.      Pdoxwin caused a General Prot. Error in Krnl386.exe at 0001:9317
  2907.  
  2908. Your help is Greatly appreciated ... Grant
  2909.  
  2910. * Reply:  34192
  2911.  
  2912. #: 34192 S1/Miscellaneous
  2913.     09-Jun-93  18:25:12
  2914. Sb: #34089-Pdoxwin & Dos 6
  2915. Fm: Steve Neverve (Sysop) 71333,114
  2916. To: GRANT R. CYNOR 72110,3272
  2917.  
  2918. Grant,
  2919.  
  2920. Try adding EMMEXCLUDE=A000-C7FF to the 386Enh section of the System.ini.
  2921. Also, take a look at TI1283.ASC in LIB1.  Are you using any of the features
  2922. of DOS6.o like double disk?
  2923.  
  2924. Steve
  2925.  
  2926. #: 31725 S3/Tables/TableView
  2927.     29-May-93  16:54:31
  2928. Sb: #Estimating DB size
  2929. Fm: Gary Spinelli 75600,1201
  2930. To: sysop (X)
  2931.  
  2932. Is there a way to accurately estimate the future size in bytes that a table
  2933. will take on the disk given
  2934. the number of bytes per record and anticipated number of records created?
  2935.  
  2936. * Reply:  31772
  2937.  
  2938. #: 31772 S3/Tables/TableView
  2939.     30-May-93  09:49:17
  2940. Sb: #31725-Estimating DB size
  2941. Fm: Bill Todd (Kallista) 75046,1345
  2942. To: Gary Spinelli 75600,1201 (X)
  2943.  
  2944. For the .db file, yes.  First you have to add up the field sizes to get the
  2945. record size.
  2946.  
  2947. Ann = nn bytes S = 2 D = 4 N & $ = 8
  2948.  
  2949. For memo and blob fields it is the size you specify plus 10.
  2950.  
  2951. Paradox stores records in fixed size blocks either 2k, 3k or 4k in size.  For
  2952. keyed tables Paradox uses the smallest block size that will contain at least 3
  2953. records.  To determine how many records a block will hold take the block size
  2954. minus 6 (6 bytes used for housekeeping info) and divide by the record size.
  2955.  
  2956. For example, if you have an 800 byte record and you want to see how many will
  2957. fit in a 2k block
  2958.  
  2959. (2048 - 6) / 800 = 2.55
  2960.  
  2961. Since records can not span blocks only 2 records will fit so Paradox will use
  2962. a 3k block.
  2963.  
  2964. (3072 - 6) / 800 = 3.8
  2965.  
  2966. The wasted space in each block will be
  2967.  
  2968. (3072 - 6) - (800 * 3) = 666 bytes.
  2969.  
  2970. If you need to store 10,000 records the minimum requred disk space will be:
  2971.  
  2972. (10,000 / 3) rounded up to the next integer = 3334 blocks * 3072 bytes per
  2973. block = 10,242,048 bytes.
  2974.  
  2975. This is the minimum because:
  2976.  
  2977. 1) Paradox uses a clustered primary index so as you add records to the table
  2978. blocks will be split to make room for the new records resulting in wasted
  2979. space.
  2980.  
  2981. 2) If you have memo or blob fields you must allow for the space used by the
  2982.  .MB file.
  2983.  
  2984. 3) You must also allow for primary and secondary index files, .VAL files etc.
  2985.  
  2986. Hope this helps, although I realize it is probably more confusing than
  2987. anything else.  If you have specific questions I'll try to answer them.
  2988.  
  2989. Bill
  2990.  
  2991. #: 31726 S1/Miscellaneous
  2992.     29-May-93  17:08:30
  2993. Sb: #PDOXWIN FOR WORKGROUPS
  2994. Fm: Fred LaPlante 70572,2456
  2995. To: Barney Mattox 70304,2334 (X)
  2996.  
  2997. Add one more to the list of WFW developers.  Ive been working away here on an
  2998. app for a client and never gave it a thought that WFW wouldnt be supported.  I
  2999. use it (WFW) here myself, but development is not yet at the point wheere I'd
  3000. be checking out the LAN aspects (how nieve? of me).  The client is already
  3001. using WFW routinely, and like me just assumed that WFW was main stream enough
  3002. that support was gauranteed.  I hope that it will be SOON.
  3003.  
  3004. Fred LaPlante
  3005.  
  3006. #: 31729 S3/Tables/TableView
  3007.     29-May-93  17:15:03
  3008. Sb: Ref. Integrity - bang
  3009. Fm: Chris Read (DT/EPA) 100014,2273
  3010. To: Martin Rudy 71621,326 (X)
  3011.  
  3012. Martin:
  3013. Reading through your  conference paper on Ref. Int. I thought I'd play around
  3014. a bit with your example files, the employee table specifically.
  3015. The employee table has Strict Referential Integrity set. If you open the table
  3016. in PWIN.
  3017. Go into Paradox 4, query the employee table to create an answer table with the
  3018. same structure, and try adding the answer back into the employee table, I get
  3019. an unexpected condition file open I104.
  3020.  
  3021. This is not as you can appreciate a mind blowing problem, interesting all the
  3022. same. You would of thought you'd get a "This table is write-protected"
  3023. message.
  3024.  
  3025. Regards
  3026.  
  3027. p.s. congrats to Greg & yourself on the excellent Paradox 4 Secrets
  3028.  
  3029. #: 31748 S4/Forms
  3030.     29-May-93  22:29:45
  3031. Sb: #31713-#Duplicate properties?
  3032. Fm: Dan Ehrmann (TeamB) 70007,4644
  3033. To: Todd Cary 73027,3067 (X)
  3034.  
  3035. Todd:
  3036.  
  3037. >> How can I set the properties of an Object and duplicate it for all other
  3038. >> Objects within the Frame?  Example: I want to set the frame style and
  3039. >> thickness for all of the field objects to the same kind.
  3040.  
  3041. SHift-click on each object in turn, then Ctrl-Right-Click to set properties
  3042. for all of them at once.  Alternatively, place the first object, set its
  3043. properties, then issue "Design - CopyToSpeedbar" to set those properties as
  3044. the default for subsequent objects.
  3045.  
  3046. >> How do I copy a button (or series of buttons) from a Form Object
  3047. >> (associated with a different table) to the one I am working on?
  3048.  
  3049. Open the "template" form in Design mode, select the buttons and copy them to
  3050. the Windows clipboard.  Move to the new form, click in the location you
  3051. want, then Paste from the clipboard into the new form.
  3052.  
  3053.  
  3054. [Dan -> ]
  3055.  
  3056. #: 32153 S4/Forms
  3057.     01-Jun-93  15:35:54
  3058. Sb: #31713-#Duplicate properties?
  3059. Fm: Robert Ramirez (Sysop) 76702,255
  3060. To: Todd Cary 73027,3067 (X)
  3061.  
  3062. Hello Todd,
  3063.  
  3064. Use <Shift-F6> in order to select "Objects in Page" to set the properties for
  3065. most of the objects.  You might need to still select individual objects and
  3066. change their properties.  Hope this helps...
  3067.  
  3068. ~Robert
  3069. Borland Tech. Support
  3070.  
  3071. #: 32165 S4/Forms
  3072.     01-Jun-93  15:48:47
  3073. Sb: #31817-#Duplicate properties?
  3074. Fm: Rick Fillman (Sysop) 76702,273
  3075. To: Todd Cary 73027,3067 (X)
  3076.  
  3077.  > Not very intuitive
  3078.  
  3079. Hmm.  You might also like Shift-Drag(with Mouse) making a square
  3080. around the objects you wish to select.  On releasing the mouse
  3081. button, object within the area you have defined are selected.
  3082.  
  3083.      Rick Fillman, Tech Support (Borland)
  3084.  
  3085. #: 31755 S4/Forms
  3086.     29-May-93  23:23:47
  3087. Sb: #New line in Memo field
  3088. Fm: Scott Basham 73042,2410
  3089. To: SysOp (X)
  3090.  
  3091. I would like to press <Enter> in a Memo field, where I get a 'new line'.  I
  3092. did 'disableDefault' on the <Enter> key (so the cursor does not jump to the
  3093. next field), then placed, instead, the \n character.  It looks great when I'm
  3094. editing the field, but once I've moved the cursor off the field, I no longer
  3095. have a new line, but I have what looks like a non-printable character (thin
  3096. black box).  How can I accomplish this?
  3097.  
  3098. * Reply:  32161
  3099.  
  3100. #: 32161 S4/Forms
  3101.     01-Jun-93  15:48:28
  3102. Sb: #31755-New line in Memo field
  3103. Fm: Rick Fillman (Sysop) 76702,273
  3104. To: Scott Basham 73042,2410 (X)
  3105.  
  3106.  > I would like to press <Enter> in a Memo field, where I get a
  3107.  > 'new line'.
  3108.  
  3109. When you are on the memo fieldPress Shift-F2.  Watch the lower RH
  3110. corner of the screen.  There, you'll see the word "Memo", which
  3111. indicates that now we are in "MemoView".  Once you are in memo
  3112. view, you'll find that <Enter> behave just as you desire.
  3113.  
  3114. In OPal, you can use something like Action(EnterEnterMemoView) to
  3115. get the same effect as Shift-F2 (see Table in OPal book p. 826)
  3116.  
  3117. Lastly, you'll probalby alos be interested in the Runtime
  3118. property (right click on the Edit Region for the memo field) and
  3119. select Complete Display.
  3120.  
  3121.      Rick Fillman, Tech Support (Borland)
  3122.  
  3123. #: 31765 S1/Miscellaneous
  3124.     30-May-93  03:54:14
  3125. Sb: #Missing Capability
  3126. Fm: George H. Foster 71324,3602
  3127. To: sysop (X)
  3128.  
  3129. I use WordPerfect's DataPerfect.  In about every way you can name, Paradox
  3130. (DOS even) is (based on my limited use) a much better piece of work.
  3131.  
  3132. It has one capability that as far as I know Paradox does not have. It allows
  3133. defining a field as an Integer that auto increates when a record in a table
  3134. (they call it a panel) is created.  This is very valuable in situations where
  3135. ID or Customer or Invoice like numbers are needed for public consumption or
  3136. table interlocking.
  3137.  
  3138. Why???
  3139.  
  3140. * Replies:  31795, 32141
  3141.  
  3142. #: 31795 S1/Miscellaneous
  3143.     30-May-93  15:17:53
  3144. Sb: #31765-#Missing Capability
  3145. Fm: Brian Bushay (TeamB) 76711,516
  3146. To: George H. Foster 71324,3602 (X)
  3147.  
  3148. George
  3149.  
  3150. >It allows defining a field as an Integer that auto increates when a record
  3151. >in a table (they call it a panel) is created. This is very valuable in
  3152.  
  3153. While PdoxWin does not have a special field type the code is quite easy.
  3154. Take a look at page 49 of your learning ObjectPal Manual
  3155. and/or page 282 of the ObjectPal developers guide
  3156.  
  3157. Brian
  3158.  
  3159. * Reply:  31885
  3160.  
  3161. #: 31885 S1/Miscellaneous
  3162.     31-May-93  10:21:23
  3163. Sb: #31795-Missing Capability
  3164. Fm: George H. Foster 71324,3602
  3165. To: Brian Bushay (TeamB) 76711,516 (X)
  3166.  
  3167. Thanks for the lead.
  3168.  
  3169. #: 32141 S1/Miscellaneous
  3170.     01-Jun-93  15:08:18
  3171. Sb: #31765-Missing Capability
  3172. Fm: Steve Neverve (Sysop) 71333,114
  3173. To: George H. Foster 71324,3602
  3174.  
  3175. George,
  3176.  
  3177. Just to add to Brian's answer. If you want to increase a record by 1 each
  3178. time you add a new record ie; 1,2,3,..., you can add a filed to a form,
  3179. right-click the field, and choose define field.  Next, click the down arrow
  3180. of the table and choose Record Number | OK.  Now this will increment you
  3181. records by 1.  The first record will be 1, the second record will be 2, etc.
  3182. The auto-increment may be better than this, but I wanted to let you know about
  3183. this option also.
  3184.  
  3185. Steve
  3186.  
  3187. #: 31767 S1/Miscellaneous
  3188.     30-May-93  07:34:30
  3189. Sb: Restructuring a Table
  3190. Fm: Paul L Garrett 100141,135
  3191. To: Sysop (X)
  3192.  
  3193. I tried to restructure a table by inserting a new field which I identified as
  3194. the Key field. when I attempted to save this field it was saved as -priv
  3195. keyviol.tv and I have been unable to recover the file and data already
  3196. entered. Can you explain what I did wrong and if I can recover the file?
  3197.  
  3198. #: 33487 S1/Miscellaneous
  3199.     07-Jun-93  13:01:49
  3200. Sb: #33440-Restructuring a Table
  3201. Fm: Richard Wagner (TeamB) 71333,2031
  3202. To: Paul L Garrett 100141,135 (X)
  3203.  
  3204. Paul,
  3205.  
  3206. First of all, if you want a field object embedded in a text object, press F5
  3207. while your cursor is within the text object. The field will then be aligned
  3208. with the text around it.
  3209.  
  3210. Second, try putting the text object and fields in the Record band. Does that
  3211. help?
  3212.  
  3213.  
  3214.                                                Richard Wagner
  3215.  
  3216. #: 31769 S1/Miscellaneous
  3217.     30-May-93  09:21:50
  3218. Sb: #.DBF files ?
  3219. Fm: Bob Taylor 76304,155
  3220. To: All
  3221.  
  3222. I don't know if this message will be duplicated. If so, I apologize. Using
  3223. TAPCIS I originally joined in BORLAND Forum, which resulted in two levels of
  3224. choices before arriving in the Paradox for windows. When I then posted the
  3225. message that is duplicated below I found that I didn't automatically wind up
  3226. here and in fact the system froze in CIS. So I rejoined as PDOXWIN and
  3227. hopefully after this message is posted I will exit gracefully. INCIDENTALLY,
  3228. PLEASE RESPOND TO THIS MESSAGE, not the other one as I don't think I'll get it
  3229. otherwise.......................................................
  3230.  
  3231. I recently purchased Paradox for Windows, but as yet I haven't installed it or
  3232. opened the shrink wrap for that matter. I had sent for a Training Video by a
  3233. 3rd party vendor and it seemed to indicate that the files created were
  3234. something other than .DBF format. If so, that kinda bothers me. That would
  3235. seem to limit it's ability to import files from other sources.
  3236.  
  3237. Perhaps someone would be kind enough to clarify this for me.
  3238.  
  3239. BTW, the video I referred to above was rather "weak," I thought. Does anyone
  3240. have experience with the Borland tapes? Are they worth the investment? I am
  3241. looking for a way to lessen the learning curve, which is one reason I am
  3242. sending back SUPERBASE and trying Paradox. There seems to be more training
  3243. classes available for Paradox, if that becomes necessary. Hopefully videos
  3244. will surfice.
  3245.  
  3246. THANKS. Bob Taylor
  3247.  
  3248. * Reply:  31796
  3249.  
  3250. #: 31796 S1/Miscellaneous
  3251.     30-May-93  15:17:58
  3252. Sb: #31769-#.DBF files ?
  3253. Fm: Brian Bushay (TeamB) 76711,516
  3254. To: Bob Taylor 76304,155 (X)
  3255.  
  3256. Bob
  3257.  
  3258. >something other than .DBF format. If so, that kinda bothers me. That would
  3259. >seem to limit it's ability to import files from other sources.
  3260. Paradox Windows will use either Paradox files (.db) or Dbase files(.dbf)
  3261. Generally if you don't specify the file type you get Paradox files.  Paradox
  3262. files have some advantages (like supporting graphic field types) so I am not
  3263. surprised that the video would emphasize them
  3264.  
  3265. >I thought. Does anyone have experience with the Borland tapes? Are they
  3266. >worth the investment? I am looking for a way to lessen the learning curve,
  3267.  
  3268. I have looked at the Borland tapes and I thought they were quite well done.
  3269. My learning cure for the most part was beyond the level of the tapes, but I
  3270. sure would have appreciated them when I first got Pdox Win.
  3271.  
  3272. Brian
  3273.  
  3274. #: 31856 S1/Miscellaneous
  3275.     31-May-93  00:25:47
  3276. Sb: #31840-#.DBF files ?
  3277. Fm: Brian Bushay (TeamB) 76711,516
  3278. To: Bob Taylor 76304,155 (X)
  3279.  
  3280. Bob
  3281.  
  3282.  
  3283. >Is there any way to convert .dbf files to the Paradox (.db) format or vice
  3284. >versa?
  3285. You can copy one table type to the other.  Just specify the extension you
  3286. want when you give the new table its name.
  3287.  
  3288. Brian
  3289.  
  3290. #: 31770 S4/Forms
  3291.     30-May-93  09:35:14
  3292. Sb: #Multiple Forms
  3293. Fm: Randy Minder 73750,3601
  3294. To: All
  3295.  
  3296. I have a situation where there is a form on the screen.  During certain
  3297. situations, I want this form (form 'A') to call a second form ('B').  Both
  3298. forms need to be on the screen at the same time.  After 'A' calls 'B', I need
  3299. control to return immediately to 'A'.  I'm not sure how to accomplish this.
  3300. Do I have to use tform.Wait() after tform.open() in form 'A'?  And, I'm not
  3301. sure where to place the formReturn() call in form 'B' so that control returns
  3302. right away.
  3303.  
  3304. Thanks very much.
  3305.  
  3306. Randy
  3307.  
  3308. * Reply:  31824
  3309.  
  3310. #: 31824 S4/Forms
  3311.     30-May-93  18:04:33
  3312. Sb: #31770-#Multiple Forms
  3313. Fm: Bill Todd (Kallista) 75046,1345
  3314. To: Randy Minder 73750,3601 (X)
  3315.  
  3316. Randy,
  3317.  
  3318. If by control you mean focus then you will have to use the form type method
  3319. moveTo.  For example,
  3320.  
  3321. f.attach("forma") f.moveTo()
  3322.  
  3323. I have not tested this but you might try doing a doDefault in form B's open
  3324. method and placing the code above there.
  3325.  
  3326. Bill
  3327.  
  3328. #: 31776 S4/Forms
  3329.     30-May-93  11:51:33
  3330. Sb: #Combo-box methods?
  3331. Fm: Alan Deikman 70541,507
  3332. To: All
  3333.  
  3334. Is there any UIObject technique/method that can implmement a Windows-style
  3335. combo-box?  I want to create, for example a two character field which
  3336. represents only one of a known list of possible status codes.  Example:
  3337.  
  3338.         UP - UPS
  3339.         FX - Federal Express
  3340.         RO - Roadway
  3341.  
  3342. et cetera.  The help should be in a pop-up window which scrolls if there are
  3343. too many fields.  Is there some mechanisim in PAL/Paradox that does this that
  3344. I just missed in the manual and examples?
  3345.  
  3346. I find the Paradox Table-lookup field property mechanisim unsatisfactory
  3347. becayse the user has to type "CTRL-SPACEBAR" to get the list of choices, and
  3348. the existence of the field type is hidden until the user is on that particular
  3349. field.
  3350.  
  3351. Any help appreciated.
  3352.  
  3353. * Reply:  32163
  3354.  
  3355. #: 32163 S4/Forms
  3356.     01-Jun-93  15:48:37
  3357. Sb: #31776-#Combo-box methods?
  3358. Fm: Rick Fillman (Sysop) 76702,273
  3359. To: Alan Deikman 70541,507 (X)
  3360.  
  3361.  > character field which represents only one of a known list of
  3362.  > possible status codes.  Example:
  3363.  
  3364. Field object in form.  Right-Click and select Display Type.
  3365. Select List.  Proceed to create three list items.  Isn't this
  3366. what you want?
  3367.  
  3368.      Rick Fillman, Tech Support (Borland)
  3369.  
  3370. #: 31785 S1/Miscellaneous
  3371.     30-May-93  13:26:37
  3372. Sb: #Memory problem
  3373. Fm: Ferdel (Jim)  Davis 71242,3066
  3374. To: James Schultz
  3375.  
  3376. Hi James just saw your name come up on the forum and is wondering if you could
  3377. help me with a problem I am having with Paradox for windows. It seems Paradox
  3378. is not satisfied with the four megabytes of memory I have for it. Everytime I
  3379. try to load it, it tells me that I do not have enough memory "INSUFFICIENT
  3380. MEMORY TO RUN PARADOX FOR WINDOWS" iT'S GETTING REAL FRUSTRATING NOT BEING
  3381. ABLE TO RUN THE PROGRAM.
  3382.  
  3383. ANY HELP YOU CAN OFFER WILL BE VERY MUCH APPRECIATED.
  3384.  
  3385.  
  3386.                                                 JIM
  3387.  
  3388. * Reply:  31797
  3389.  
  3390. #: 31797 S1/Miscellaneous
  3391.     30-May-93  15:18:03
  3392. Sb: #31785-Memory problem
  3393. Fm: Brian Bushay (TeamB) 76711,516
  3394. To: Ferdel (Jim)  Davis 71242,3066
  3395.  
  3396. Jim
  3397.  
  3398. Pdox Win is a very tight fit on a 4 meg machine.
  3399. The most common memory Problem is caused by having too much memory allocated
  3400. to Smartdrv.exe
  3401.  
  3402. Reduce the allocation of SmartDrv.exe to
  3403.  
  3404. Smartdrv.exe 512,256
  3405.  
  3406. On a 4 meg machine you also must have a perminant swap file of 4-6 meg
  3407. defined.  And it must be on a uncompressed drive.
  3408.  
  3409. Add Share to your Autoexec.bat with these parameters
  3410. share /l:400 /F:4096
  3411.  
  3412. Brian
  3413.  
  3414. #: 31801 S2/Install/CFG/HrdWare
  3415.     30-May-93  15:40:09
  3416. Sb: #No Help
  3417. Fm: Bill Bragg 75450,2170
  3418. To: sysop (X)
  3419.  
  3420. I'm having trouble with PDOXWIN.  I can't get "help" to work.  The files are
  3421. there on the disk, and I can open them with the MS Help program, but the help
  3422. menu option doesn't work from the PDOXWIN menu.  It does nothing. I don't use
  3423. Norton Desktop.  The only odd thing about my machine is the video resolution
  3424. (1280x1024x256).  I've read messages about other people having this problem
  3425. ... what's the solution?  --Bill Bragg
  3426.  
  3427. * Replies:  31966, 32101
  3428.  
  3429. #: 31966 S2/Install/CFG/HrdWare
  3430.     31-May-93  19:31:14
  3431. Sb: #31801-No Help
  3432. Fm: John Rusin 76320,357
  3433. To: Bill Bragg 75450,2170 (X)
  3434.  
  3435. Bill,
  3436.  
  3437. I see you are not using Nortons Desktop.  I have found that some programs such
  3438. as Norton's Sleeper and Freeze Frame Capture can not be loaded before PFW.  I
  3439. have also noticed that many of the problems appear on Gateway 486-66 LB
  3440. machines.  This is a real inconvenience since I have 16 megs of RAM and PFW
  3441. will take it all if Sleeper or Capture have ever been loaded.  This happens
  3442. even if I close Sleeper and Capture.
  3443.  
  3444. Borlands solution is not to run the conflicting programs.  I find this
  3445. solution unacceptable and have switched back to MS Access.
  3446.  
  3447. See note in this forum section titled "PFW and other programs"
  3448.  
  3449. John
  3450.  
  3451. #: 32101 S2/Install/CFG/HrdWare
  3452.     01-Jun-93  13:02:35
  3453. Sb: #31801-#No Help
  3454. Fm: Robert Ramirez (Sysop) 76702,255
  3455. To: Bill Bragg 75450,2170 (X)
  3456.  
  3457. Hello Bill,
  3458.  
  3459. What Video Card/Driver are you using?  What happens if you switch to a
  3460. standard SuperVGA driver?  Is the driver your using the lastest? If the Video
  3461. card you using is an ATI video care, make sure that you get the latest ATI
  3462. driver.  There are now Build 59 drivers available here in the ATITECH forum
  3463. that are relatively stable.  You should use them or the original Build 42
  3464. drivers - all the other builds have been quite problematic.  Also, some
  3465. problems with the ATI Ultra Pro can be solved by setting bitmap=offin the
  3466. [Mach32] section of Win.ini.  Also the internal modems supplied by Gateway
  3467. have been implicated inproblems.  GateWay apparently has a Bios fix for this
  3468. but if you have one
  3469.  
  3470. ~Robert
  3471. Borland Tech. Support
  3472.  
  3473. * Reply:  32329
  3474.  
  3475. #: 32329 S2/Install/CFG/HrdWare
  3476.     01-Jun-93  21:51:55
  3477. Sb: #32101-#No Help
  3478. Fm: Bill Bragg 75450,2170
  3479. To: Robert Ramirez (Sysop) 76702,255 (X)
  3480.  
  3481. I have an ATI GUP VLB with the PRO59 drivers.  I do not have a gateway
  3482. machine, but I do have a Micronics motherboard.  I also have 20Meg of RAM, a
  3483. WD8013 Ethernet card, a MediaVision PAS 16 card with an NEC cdr-84 rom drive,
  3484. and I have a WD2340 IDE hard disk.  I'm running in 1280x1024 mode with 256
  3485. colors.  I also have a monochrome card I use for debugging. I can view the
  3486. files from the file manager by just double clicking on them, so they obviously
  3487. exist and they are displayable on my system. The only time I can't view them
  3488. is when I'm in PDOXWIN.  Ain't that somethin' !  I can only get help for
  3489. PDOXWIN when I'm not in it.
  3490.  
  3491. There are obviously other people having this problem.  My suggestion is that
  3492. Borland buy a Gateway machine and figure it out.  There are no small number of
  3493. people with Gateway machines in the world and I'll bet that you'll be hearing
  3494. from them as PDOXWIN takes off.  --Bill Bragg
  3495.  
  3496. * Reply:  32655
  3497.  
  3498. #: 32655 S2/Install/CFG/HrdWare
  3499.     03-Jun-93  01:45:56
  3500. Sb: #32329-No Help
  3501. Fm: John Rusin 76320,357
  3502. To: Bill Bragg 75450,2170
  3503.  
  3504. Bill,
  3505.  
  3506. I have the ATI UGP VLB with old ATI drivers.  Following Robert's suggestion
  3507. and switched to Windows VGA drivers and I can now get the help files and load
  3508. other programs.  I am going to get the new ATI drivers and see if they are
  3509. better.  I would not want to continue to use the Windows drivers..my eyes are
  3510. starting to hurt after just 30 minutes using them.  The crystal fonts are
  3511. great.
  3512.  
  3513. John
  3514.  
  3515. #: 31828 S1/Miscellaneous
  3516.     30-May-93  18:24:43
  3517. Sb: #Memo Field in Forms
  3518. Fm: Mussie Gebregziabiher 76420,346
  3519. To: SYSOPS 76711,516 (X)
  3520.  
  3521. I have created a form from a table which contains Memo fields. Since I have
  3522. several fields < including related table>, I wasn't able to fit all of them
  3523. into one page screen.  Therefore instead of using the proposed, by paradox/win
  3524. i.e., field size for memo I shrunk memo fields to fit all memo fields and the
  3525. others unto one page.  When I run the form, memo fields show part of the memo
  3526. text and fied view  [F2] doesn't revert to some kind of editor. Instead to
  3527. scrolls thru the memo by allowing you to see part of, in my case 40 chars at a
  3528. time.  Is there any way I can see every thing in that memo in full screen
  3529. while I am in form by pressing F2.  Am I skipping/missing a step that would
  3530. allow me to do this during the form design phase?  .... Thank you ...
  3531.  
  3532. * Reply:  32150
  3533.  
  3534. #: 32150 S1/Miscellaneous
  3535.     01-Jun-93  15:35:45
  3536. Sb: #31828-Memo Field in Forms
  3537. Fm: Robert Ramirez (Sysop) 76702,255
  3538. To: Mussie Gebregziabiher 76420,346 (X)
  3539.  
  3540. Hello Mussie,
  3541.  
  3542. The best way to do this is to add another page to your Form and at the page
  3543. level of the Form, Trap for the the <F2> being pressed.  When its pressed,
  3544. move to the second page, i.e.
  3545.  
  3546. Method Keyphysical(var Eventinfo keyevent)
  3547. if eventinfo.isprefilter() then
  3548.   ;
  3549. Else
  3550.  if Eventinfo.vchar() = "Vk_F2" Then
  3551.   disabledefault ; because you don't want the default behavior to happen
  3552.   Movetopage(2)
  3553.  endif
  3554. .
  3555. .
  3556. Endmethod
  3557.  
  3558. Hope this helps...
  3559.  
  3560. ~Robert
  3561. Borland Tech. Support
  3562.  
  3563. #: 31849 S4/Forms
  3564.     30-May-93  22:28:22
  3565. Sb: #Trailing spaces vanish!
  3566. Fm: David G. Martin 73057,3252
  3567. To: Sysop (X)
  3568.  
  3569. I have a field defined as a drop-down edit field. There are only a few values
  3570. in the list, but they all contain a trailing space.
  3571.  
  3572. The list recognizes this space. Also, when I choose one of the list entries,
  3573. the trailing space appears. However, when I save the entry in the field, the
  3574. space is not saved, thus the table entires do not contain the space.
  3575.  
  3576. Is there a way to prevent this? I don't necessarily need a space -- a
  3577. non-printing, non-displaying character that would act as a placeholder would
  3578. work as well.
  3579.  
  3580. Thanks.
  3581.                                                --Dave
  3582.  
  3583. * Reply:  32166
  3584.  
  3585. #: 32166 S4/Forms
  3586.     01-Jun-93  15:48:53
  3587. Sb: #31849-#Trailing spaces vanish!
  3588. Fm: Rick Fillman (Sysop) 76702,273
  3589. To: David G. Martin 73057,3252 (X)
  3590.  
  3591.  > The list recognizes this space. Also, when I choose one of the
  3592.  > list entries, the trailing space appears. However, when I save
  3593.  > the entry in the field, the space is not saved, thus the table
  3594.  > entires do not contain the space.
  3595.  
  3596. What you are observing doesn't have anything to do with the
  3597. drop-Down Edit List.
  3598.  
  3599. Try typing some spaces at the end of an alpha field when you are
  3600. entering data interactively (using NO list).  You'll see that
  3601. your trialing spaces are discarded with the record is written.
  3602.  
  3603.  > Is there a way to prevent this? I don't necessarily need a space
  3604.  > -- a non-printing, non-displaying character that would act as a
  3605.  > placeholder would work as well.
  3606.  
  3607. Can you tell us a bit more about why you need such a character in
  3608. your choices.  I'm having difficulty answering the question
  3609. because I don't know what this "placeholder" is suppose to help
  3610. you acheive.
  3611.  
  3612.      Rick Fillman, Tech Support (Borland)
  3613.  
  3614. * Reply:  32327
  3615.  
  3616. #: 32327 S4/Forms
  3617.     01-Jun-93  21:16:00
  3618. Sb: #32166-Trailing spaces vanish!
  3619. Fm: David G. Martin 73057,3252
  3620. To: Rick Fillman (Sysop) 76702,273 (X)
  3621.  
  3622. Rick--
  3623.  
  3624. Well, not being able to have the placeholder forced me to do thing the RIGHT
  3625. way, which was to add calculated fields to my report to add things like spaces
  3626. when needed, but to delete them when not needed. This is a lot nicer, and
  3627. probably how I SHOULD have done it to start out <g>.
  3628.  
  3629. Thanks for your help.
  3630.                                                --Dave
  3631.  
  3632. #: 31858 S2/Install/CFG/HrdWare
  3633.     31-May-93  00:27:44
  3634. Sb: #PFW and other programs
  3635. Fm: John Rusin 76320,357
  3636. To: Milt Har 70254,3702 (X)
  3637.  
  3638. Milt,
  3639.  
  3640. I have a similar problem in that PFW will take all of my 16 megs if Norton's
  3641. Screen Saver or Freeze Frame Capture is loaded first.  The only way I could
  3642. load other programs is to load PFW first.  Since I often do not run PFW this
  3643. is a waste of time.   Borlands solution was to not run the conflicting
  3644. programs.  I agree with you, I do not find this solution acceptable.  I really
  3645. wanted to use PFW as I use Pdox DOS and QPROwin but I need to run my other
  3646. programs.  I have switched back to MS Access as it does not have this type of
  3647. problem.
  3648.  
  3649. I also found the problem to be specific to my Gateway 486-66 LB.  I have seen
  3650. this problem reported earier in this Forum and most had Gateway 486-66's!  I
  3651. can load PFW on a HP-Vectra 486-33 after loading my Screen Saver and other
  3652. programs and not have a problem.
  3653.  
  3654. I found it interesting that you got Corporate Services' interest.  If there
  3655. ever is a fix to this problem I might go back to PFW.
  3656.  
  3657. John
  3658.  
  3659. * Reply:  32100
  3660.  
  3661. #: 32100 S2/Install/CFG/HrdWare
  3662.     01-Jun-93  13:02:31
  3663. Sb: #31858-#PFW and other programs
  3664. Fm: Robert Ramirez (Sysop) 76702,255
  3665. To: John Rusin 76320,357 (X)
  3666.  
  3667. Hello John,
  3668.  
  3669. I beleive that the Gateway 486-66 LB is shiped whith an ATI Video card.  If
  3670. this is the case, use the Windows, VGA driver, not the ATI driver you got with
  3671. your Gateway  OR get the latest ATI driver.  There are now Build 59 drivers
  3672. available here in the ATITECH forum that are relatively stable.  You should
  3673. use them or the original Build 42 drivers - all the other builds have been
  3674. quite problematic.  Also, some problems with the ATI Ultra Pro can be solved
  3675. by setting bitmap=offin the [Mach32] section of Win.ini.  Also the internal
  3676. modems supplied by Gateway have been implicated in
  3677. problems.  GateWay apparently has a Bios fix for this but if you have one
  3678. Pull it out and see if it makes a difference.  Hope this helps...
  3679.  
  3680. ~Robert
  3681. Borland Tech. Support
  3682.  
  3683. * Replies:  32642, 32654
  3684.  
  3685. #: 32642 S2/Install/CFG/HrdWare
  3686.     03-Jun-93  00:53:49
  3687. Sb: #32100-PFW and other programs
  3688. Fm: John Rusin 76320,357
  3689. To: Robert Ramirez (Sysop) 76702,255 (X)
  3690.  
  3691. Robert,
  3692.  
  3693. Thank you very much for your response.  This is the first time that I have
  3694. seen comments regarding the Gateway problems other than "do not use..."  Yes,
  3695. the ATI has some problems which fortunately have not appeared with other
  3696. programs.
  3697.  
  3698. I will give all of your suggestions a try.  I really do want to use PFW.
  3699.  
  3700. Thanks again,
  3701.  
  3702. John
  3703.  
  3704. #: 32654 S2/Install/CFG/HrdWare
  3705.     03-Jun-93  01:42:04
  3706. Sb: #32100-PFW and other programs
  3707. Fm: John Rusin 76320,357
  3708. To: Robert Ramirez (Sysop) 76702,255 (X)
  3709.  
  3710. Robert,
  3711.  
  3712. I returned my TelePath modem so that was not the problem!  Turning bitmap=off
  3713. didn't help.  But..using the Windows VGA driver instead of ATI's drivers did
  3714. the trick.  I can load PFW, and several other applications at the same time.
  3715. I can also load Norton's Desktop Sleeper and Freeze Frame Capture before PFW
  3716. with no problem at all.  I never thought that Desktop was really the problem
  3717. since I can run PFW on other computers with Sleeper loaded.  Of course the
  3718. other computers didn't have ATI drivers!
  3719.  
  3720. Now to get the current ATI drivers as I wouldn't want to continue using the
  3721. Window's drivers after getting used to the clarity of ATI's screen.
  3722.  
  3723. Thanks again,
  3724.  
  3725. John
  3726.  
  3727. #: 31872 S2/Install/CFG/HrdWare
  3728.     31-May-93  07:06:36
  3729. Sb: #31779-#Code Page 866 Blues
  3730. Fm: Rod Stites 75405,712
  3731. To: Mike Irwin/Co-Assist 100114,1437 (X)
  3732.  
  3733. You guys might be interested...I posted a real hot note on here last night
  3734. about the teeny tiny fonts.  I found the problem, and maybe this will help
  3735. others.
  3736.  
  3737. The culprint in my case was a set of PageMaker 4.0 fonts for preview at
  3738. different magnifications.  Once I removed them, the problem resolved. I
  3739. haven't checked to see what this does to PageMaker yet, but you guys may have
  3740. a slight problem of "conflict."
  3741.  
  3742. I'd be interested to know exactly what the programmers reference for the
  3743. font...it is almost unbelievable how much wierd debugging I had to do to
  3744. locate my own "teeny tiny fonts" problem.
  3745.  
  3746. Let me know if this is not clear, and I'll add additional info.  In the
  3747. meantime, since you say to "not click on 'use true type only'", you may want
  3748. to look really hard at what that implies and what your particular application
  3749. (PDOXWIN) is picking up!
  3750.  
  3751. I'll pass a note along to the Pagemaker folks, but uh, they were here before
  3752. you guys, and the only, one and only, way I can cure the tiny font problem is
  3753. to pull the PageMaker display fonts.
  3754.  
  3755. Looking forward to your reply.
  3756.  
  3757. Rod
  3758.  
  3759. * Reply:  31909
  3760.  
  3761. #: 31909 S2/Install/CFG/HrdWare
  3762.     31-May-93  13:14:32
  3763. Sb: #31872-#Code Page 866 Blues
  3764. Fm: Brian Bushay (TeamB) 76711,516
  3765. To: Rod Stites 75405,712 (X)
  3766.  
  3767. Rod
  3768.  
  3769.  
  3770. >You guys might be interested...I posted a real hot note on here last night
  3771. >about the teeny tiny fonts.  I found the problem, and maybe this will help
  3772. >others.
  3773. Thankyou for that note.  The Pagemaker fonts have been linked to display
  3774. problems before but I hadn't got them correlated to tiny status message
  3775. fonts in SVGA before
  3776.  
  3777. >I'd be interested to know exactly what the programmers reference for the
  3778. >font...it
  3779. I believe that the program looks for HELV 8 point for the status line message
  3780.  
  3781.  
  3782. >way I can cure the tiny font problem is to pull the PageMaker display fonts.
  3783.  
  3784. No one else has reported a problem removing those PageMaker fonts.
  3785.  
  3786. Brian
  3787.  
  3788. * Reply:  31942
  3789.  
  3790. #: 31942 S2/Install/CFG/HrdWare
  3791.     31-May-93  16:48:41
  3792. Sb: #31909-Code Page 866 Blues
  3793. Fm: Rod Stites 75405,712
  3794. To: Brian Bushay (TeamB) 76711,516 (X)
  3795.  
  3796. Brian,
  3797.  
  3798. You're sure welcome, and I haven't seen any problems at all with PageMaker, so
  3799. my assumption for now is that all is well.  It actually had a global effect
  3800. across most of my apps, but none so great as in PDOXWIN.
  3801.  
  3802. Thanks, and regards,
  3803.  
  3804. Rod
  3805.  
  3806. #: 31880 S1/Miscellaneous
  3807.     31-May-93  09:12:25
  3808. Sb: #Borland VIP Message Sect
  3809. Fm: Bob Taylor 76304,155
  3810. To: All
  3811.  
  3812. I am reading the literature that comes with the product pertaing to Tech
  3813. Support and I am curious about two things relative to CIS help.
  3814.  
  3815. (1) What or where is the special VIP message section? Is it something other
  3816. than regular forum support?
  3817.  
  3818. (2) It also says that "you are not billed for on-line charges." Does that
  3819. actually mean that time spent in this or other Borland forums are not charged
  3820. by Compuserve? I find that hard to believe. I have TAPCIS set to only pick up
  3821. replies to my questions to avoid downloading all the other messages, which may
  3822. not be of immediate interest, but heck if there are no charges maybe I would
  3823. look at everything. I almost feel stupid thinking this is possibly, but it's
  3824. there in black and white.
  3825.  
  3826.  
  3827. Bob Taylor
  3828.  
  3829. * Replies:  31908, 32044
  3830.  
  3831. #: 31908 S1/Miscellaneous
  3832.     31-May-93  13:14:27
  3833. Sb: #31880-Borland VIP Message Sect
  3834. Fm: Brian Bushay (TeamB) 76711,516
  3835. To: Bob Taylor 76304,155 (X)
  3836.  
  3837. Bob
  3838.  
  3839.  
  3840. VIP is one of the support plans that Borland offers.
  3841. For the exact details you need to enquire on the Customer service form.
  3842.  
  3843. Among the features of a VIP account is a special CIS ID that allows free
  3844. access to a Borland form.  And access to that form's VIP section.  I believe
  3845. the VIP section guarantees a 3 business hour response to a question.
  3846.  
  3847. Brian
  3848.  
  3849. #: 32044 S1/Miscellaneous
  3850.     01-Jun-93  10:35:52
  3851. Sb: #31880-#Borland VIP Message Sect
  3852. Fm: Dan Ehrmann (TeamB) 70007,4644
  3853. To: Bob Taylor 76304,155 (X)
  3854.  
  3855. Bob:
  3856.  
  3857. VIP costs extra, but provides a higher level of service, such as 3 hour
  3858. minimum turn-around and a special account.
  3859.  
  3860. Borland adds no special charges to your use of this forum, but standard CIS
  3861. charges still apply.
  3862.  
  3863.  
  3864. [Dan -> ]
  3865.  
  3866. #: 31884 S4/Forms
  3867.     31-May-93  09:57:43
  3868. Sb: #A Simple Task?
  3869. Fm: John Sherratt 100022,1650
  3870. To: Sysop (X)
  3871.  
  3872. I am setting up a list of contacts.  I have 3 tables, Company, Address,
  3873. People.  Companies can have multiple Addresses and Adresses multiple People.
  3874. I created a form and a data model Company-->>Address-->>People for users with
  3875. some PWin experience.  I do not want to write a major application but to use a
  3876. form with as few methods as possible so that the users press F9 to edit etc.
  3877.  
  3878. The initial form worked well, but the users now now want to add the date and
  3879. time of any changes by pressing on a button.  I created a button for each
  3880. table on the form with the following code:
  3881. -----------------------------------------------------------
  3882. method pushButton(var eventInfo Event)
  3883.    var
  3884.      ZTc tcursor
  3885.    endvar
  3886.  
  3887.   ZTC.attach(PeopLe)
  3888.   ZTc.dateclean=today()
  3889.   ZTc.timeclean=time()
  3890. endmethod
  3891. -----------------------------------------------------------
  3892. If the user edits a record and moves away from the record and presses the
  3893. button it works correctly but
  3894. if the user presses the button without moving away first, a message is
  3895. displayed saying that there is a lock on the table.
  3896.  
  3897. Questions:
  3898. 1.  How can I stop this happening?
  3899. 2.  Where in the manuals does it give me the answer to 1.?
  3900.  
  3901. I am  finding it very difficult to find the solution to a problem with the
  3902. help system or the manuals without knowing the answers first; either I cannot
  3903. find the start of the trail or it dries up very quickly.
  3904.  
  3905.  
  3906. John
  3907.  
  3908. * Reply:  31948
  3909.  
  3910. #: 31948 S4/Forms
  3911.     31-May-93  17:11:12
  3912. Sb: #31884-#A Simple Task?
  3913. Fm: Bill Todd (Kallista) 75046,1345
  3914. To: John Sherratt 100022,1650 (X)
  3915.  
  3916. John,
  3917.  
  3918. To put a value into a field where the table is in the form's data model but
  3919. the field is not on the form use the dmPut method (see page 180 in the OPAL
  3920. Reference).
  3921.  
  3922. The TCursor is effectivly another user and is therefore blocked by the form
  3923. user's record lock.
  3924.  
  3925. Bill
  3926.  
  3927. * Reply:  32282
  3928.  
  3929. #: 32282 S4/Forms
  3930.     01-Jun-93  19:04:33
  3931. Sb: #31948-#A Simple Task?
  3932. Fm: John Sherratt 100022,1650
  3933. To: Bill Todd (Kallista) 75046,1345 (X)
  3934.  
  3935. Bill,
  3936.  
  3937. Thanks for that.  It worked!
  3938.  
  3939.  The point I was getting at when mentioning the manuals is that it's not easy
  3940. to find where to start looking for the solution.  I bought Power Shortcuts for
  3941. PWin hoping that it would give me a bump start but it's so full of typos (even
  3942. the form at the back of the book for the expensive disk thinks its QPW) and at
  3943. least one factual error that _it's_ going back and I'm still confused.  Do you
  3944. have anything like Desktop for PWin withs lots of source code.  The DOS
  3945. version as well as being the answer to a lot of my prayers got me going with
  3946. PAL.
  3947.  
  3948. John
  3949.  
  3950. #: 31886 S1/Miscellaneous
  3951.     31-May-93  10:30:52
  3952. Sb: #Lan Performance
  3953. Fm: Steve Medley 100026,1077
  3954. To: Sysop (X)
  3955.  
  3956. Sysop,
  3957.  
  3958. I have been developing an application on a standalone machine that works
  3959. fairly fast, however when it was ported to a Novel LAN the performance
  3960. decreased dramatically.
  3961.  
  3962. The workstations on the LAN do not run Smartdrv as there is caching on the
  3963. File server, and Windows and PdoxWin are installed on the LAN. The 2 machines
  3964. both have about 8 meg of memory and are 486SX25 machines.
  3965.  
  3966. Can you suggest areas that I should look at to improve performance, and what
  3967. effect does Minimum amd Maximum Buffers in the Config  have on the overall
  3968. performance. I have tried min 2048 and Max 6000 and 1024 and 5500 respectivley
  3969. and did not a noticable difference.
  3970.  
  3971.  
  3972. Regards
  3973. Steve
  3974.  
  3975. * Replies:  32045, 32287
  3976.  
  3977. #: 32045 S1/Miscellaneous
  3978.     01-Jun-93  10:35:57
  3979. Sb: #31886-Lan Performance
  3980. Fm: Dan Ehrmann (TeamB) 70007,4644
  3981. To: Steve Medley 100026,1077 (X)
  3982.  
  3983. Steve:
  3984.  
  3985. The networked machines **SHOULD** be running SmartDrv.  With 8 megs installed,
  3986. set the SmartDrv to 1 meg and you will see the performance kick up a few
  3987. notches.
  3988.  
  3989.  
  3990. [Dan -> ]
  3991.  
  3992. #: 32287 S1/Miscellaneous
  3993.     01-Jun-93  19:05:03
  3994. Sb: #31886-Lan Performance
  3995. Fm: Weylan Wang -(Sysop)- 76702,1067
  3996. To: Steve Medley 100026,1077 (X)
  3997.  
  3998. You may want to check were your private directory is set.  That can increase
  3999. your performance right there.  For the search for more information out across
  4000. the network, you are looking at a speed penalty because of network access
  4001. time.  It just takes longer to get data from a network.  You may even want to
  4002. try pushing some of your data local if possible.  With local data, you can
  4003. read off your hard disk much faster then getting it from the network.
  4004.         -(Weylan Wang)-
  4005.         -(Borland Paradox Technical Support)-
  4006.  
  4007. #: 31892 S1/Miscellaneous
  4008.     31-May-93  11:17:04
  4009. Sb: #Problem w/ Ctrl-D?
  4010. Fm: Vikram Chandra 72617,2761
  4011. To: Borland
  4012.  
  4013. I have a field formatted for five decimal places, so the user can enter a
  4014. value like 0.9564.  When my user presses Ctrl-D in the next record, PdoxWin
  4015. copies over the value as 1.0.  Why?
  4016.  
  4017.         -- Vikram
  4018.  
  4019. * Reply:  32151
  4020.  
  4021. #: 32151 S1/Miscellaneous
  4022.     01-Jun-93  15:35:47
  4023. Sb: #31892-#Problem w/ Ctrl-D?
  4024. Fm: Robert Ramirez (Sysop) 76702,255
  4025. To: Vikram Chandra 72617,2761 (X)
  4026.  
  4027. Hello Vikram,
  4028.  
  4029. Your Control Panel (International Settings) plays apart in how the number is
  4030. formatted.  Your decimal place setting must be set to 1 in order for it to
  4031. round the values like you've described.  Reset this setting to 5 and you'll
  4032. get the results your looking for.
  4033.  
  4034. ~Robert
  4035. Borland Tech. Support
  4036.  
  4037. #: 31895 S1/Miscellaneous
  4038.     31-May-93  11:33:01
  4039. Sb: #DDE Link FROM Excel
  4040. Fm: Dan Holesinger 71170,3312
  4041. To: All
  4042.  
  4043. I'm trying to get Excel to open a DDE channel to PDOXWIN so I can send Excel
  4044. Keys to PDOX Forms, Reports.  What is the DDE name to use for PDOXWIN?  At
  4045. least this is what Microsoft thinks may be the problem.
  4046.  
  4047. * Reply:  32144
  4048.  
  4049. #: 32144 S1/Miscellaneous
  4050.     01-Jun-93  15:08:32
  4051. Sb: #31895-DDE Link FROM Excel
  4052. Fm: Steve Neverve (Sysop) 71333,114
  4053. To: Dan Holesinger 71170,3312
  4054.  
  4055. Dan,
  4056.  
  4057. APPLICATION = PDOXWIN
  4058. TOPIC       = Table name
  4059.  
  4060. Steve
  4061.  
  4062. #: 31898 S1/Miscellaneous
  4063.     31-May-93  11:47:43
  4064. Sb: #Initial Page Display
  4065. Fm: Thomas D Anthony 71561,2144
  4066. To: Sysop (X)
  4067.  
  4068. I have a six Page Form and when the form opens it displays Page six first.
  4069. Page six contains a table object, the others contain text only.   I have
  4070. determined I can use setErrorCode in the canArrive method for the table object
  4071. to get it to open on page one, but all the examples I follow to reset the
  4072. error code after opening the form don't work. How do I dispatch an event to
  4073. reset the code so the user can update the table once the form is open? HELP
  4074. Tom
  4075.  
  4076. * Replies:  31930, 32046, 32145
  4077.  
  4078. #: 31930 S1/Miscellaneous
  4079.     31-May-93  15:40:14
  4080. Sb: #31898-#Initial Page Display
  4081. Fm: Mike Irwin/Co-Assist 100114,1437
  4082. To: Thomas D Anthony 71561,2144 (X)
  4083.  
  4084. Thomas,
  4085.  
  4086. instead of the CanNotArrive, you can tell a form to go to a certain page from
  4087. code in the invoking form:
  4088.  
  4089. formvar.open() formvar.setPage() formvar.wait()
  4090.  
  4091. filling in the appropriate parameters, of course !
  4092.  
  4093. hope this helps
  4094.  
  4095. Mike
  4096.  
  4097. * Reply:  32439
  4098.  
  4099. #: 32439 S1/Miscellaneous
  4100.     02-Jun-93  11:22:27
  4101. Sb: #31930-Initial Page Display
  4102. Fm: Thomas D Anthony 71561,2144
  4103. To: Mike Irwin/Co-Assist 100114,1437 (X)
  4104.  
  4105. I didn't realize how many different ways to solve the same problem.  Thanks
  4106. for everyone who offered a suggestion. In the Paradox Informant I found still
  4107. another way. In the Forms Open method, I did a doDefault then a movetoPage(1)
  4108. and it opens only showing me page one. I tried it without the doDefault and
  4109. got page one for a brief second then it proceeded to Page 6 and waited. This
  4110. appears to be working so far but I don't know which method incurs the least
  4111. overhead. Thanks guys. Tom at Abbott Labs (We are do some important systems
  4112. here at Abbott and I encouraged the use of Paradox for Windoes to replace
  4113. ObjectVision, so I have to make it work.
  4114.  
  4115. #: 32046 S1/Miscellaneous
  4116.     01-Jun-93  10:36:03
  4117. Sb: #31898-Initial Page Display
  4118. Fm: Dan Ehrmann (TeamB) 70007,4644
  4119. To: Thomas D Anthony 71561,2144 (X)
  4120.  
  4121. Thomas:
  4122.  
  4123. Paradox will move to the first object that has a "TabStop" property set to
  4124. True, which is the field or table object on Page 6 in your situation.
  4125.  
  4126. You might try turning this TabStop to False when the form is opened, and only
  4127. turning it to True on the ARRIVE method for Page 6 (attached to the Page
  4128. object.)
  4129.  
  4130.  
  4131. [Dan -> ]
  4132.  
  4133. #: 32145 S1/Miscellaneous
  4134.     01-Jun-93  15:08:37
  4135. Sb: #31898-Initial Page Display
  4136. Fm: Steve Neverve (Sysop) 71333,114
  4137. To: Thomas D Anthony 71561,2144 (X)
  4138.  
  4139. Thomas,
  4140.  
  4141. You need to set the tab stop on an object on the first page. You can do this
  4142. by right-clicking on the object and checking Tab Stop.  The best thing to do
  4143. would be to add a field follow the above steps with the field.  You can then
  4144. hide the field.
  4145.  
  4146. Steve
  4147.  
  4148. #: 31900 S4/Forms
  4149.     31-May-93  12:14:03
  4150. Sb: #Flyaway Problems
  4151. Fm: Jeffrey L. Odell 71461,1064
  4152. To: Sysop (X)
  4153.  
  4154. I am having no luck implementing the canDepart method on page 328 of the
  4155. developers guide.  I have a form, 1 ---> M
  4156.                                                 |----> M ---->M
  4157. The master table is implemented as a multi record object with only one record
  4158. displayed.  I've attached the flyaweay method to the multi-record block and
  4159. the individual record, to no avail.
  4160.  
  4161. Has anyone sucessfully implemented this code?  When my user enters data into
  4162. the master record, I want that record to stay current when the user leaves the
  4163. block.
  4164.  
  4165. Thanks -
  4166. Jeff Odell
  4167.  
  4168. * Reply:  32083
  4169.  
  4170. #: 32083 S4/Forms
  4171.     01-Jun-93  12:32:56
  4172. Sb: #31900-#Flyaway Problems
  4173. Fm: Rick Fillman (Sysop) 76702,273
  4174. To: Jeffrey L. Odell 71461,1064 (X)
  4175.  
  4176.  > I am having no luck implementing the canDepart method on page 328
  4177.  > of the developers guide.
  4178.  
  4179. The example code on p. 328 of teh Developer's Guide is inaccurate
  4180. The recommended approach is:
  4181.  
  4182. method action(var eventInfo ActionEvent)
  4183.  ; this code is attached to a TableFrame or MRO
  4184.    if eventInfo.id() = DataUnlockRecord then
  4185.       self.action(DataPostRecord)
  4186.    endIf
  4187. endmethod
  4188.  
  4189. Try it.  The above allows for use to "follow" the records to its
  4190. new location in the table.
  4191.  
  4192.     Rick Fillman, Tech Support (Borland)
  4193.  
  4194. #: 31901 S4/Forms
  4195.     31-May-93  12:20:41
  4196. Sb: Multi-Select
  4197. Fm: Steve Zilora 71510,1007
  4198. To: all
  4199.  
  4200.   Has anyone figured out how to implement a multiple selection picklist? PfW
  4201. itself does it nicely when you're choosing methods to edit: shift-click grabs
  4202. a block of entries; ctrl-click grabs individual entries.  This is a lot nicer
  4203. approach, IMO, than the dual picklist approach to multi-selects. Thanks.
  4204.  
  4205. --Steve
  4206.  
  4207. #: 31902 S4/Forms
  4208.     31-May-93  12:20:50
  4209. Sb: #No Sliders?
  4210. Fm: Steve Zilora 71510,1007
  4211. To: all
  4212.  
  4213.   It just occured me that PfW doesn't have slide bar objects. Or maybe it does
  4214. and I just can't find them <g>.  I'm really surprised since P4 does have them.
  4215.   Anyway, I'm trying to implement a "thumbwheel" in their place.  So I've got
  4216. my little up and down arrows and I attached a mouseDown method that says
  4217. action(dataNextRecord).  This works great for moving 1 record at a time. But
  4218. I'd like to let the user hold the button down to scroll through the records. I
  4219. see the method isLeftDown and I figure that's got to play a role in this, but
  4220. I'm not sure where to attach it. I keep coming up with infinite loops. Thanks.
  4221.  
  4222. --Steve
  4223.  
  4224. * Replies:  31949, 31953
  4225.  
  4226. #: 31949 S4/Forms
  4227.     31-May-93  17:11:16
  4228. Sb: #31902-#No Sliders?
  4229. Fm: Bill Todd (Kallista) 75046,1345
  4230. To: Steve Zilora 71510,1007 (X)
  4231.  
  4232. Steve,
  4233.  
  4234. If you are trying to move through records why not just use a scroll bar?
  4235.  
  4236. Bill
  4237.  
  4238. * Reply:  31959
  4239.  
  4240. #: 31959 S4/Forms
  4241.     31-May-93  19:06:48
  4242. Sb: #31949-#No Sliders?
  4243. Fm: Steve Zilora 71510,1007
  4244. To: Bill Todd (Kallista) 75046,1345 (X)
  4245.  
  4246. Bill,
  4247.   The way the form is laid out, I'd really want the scroll bar to be next to
  4248. the key field.  As far as I know, scoll bars can only be put on the form.
  4249. Right?
  4250.  
  4251. --Steve
  4252.  
  4253. * Replies:  31971, 32086
  4254.  
  4255. #: 31971 S4/Forms
  4256.     31-May-93  19:45:30
  4257. Sb: #31959-No Sliders?
  4258. Fm: Bill Todd (Kallista) 75046,1345
  4259. To: Steve Zilora 71510,1007 (X)
  4260.  
  4261. As far as I know you are right. You can not control the location of a scroll
  4262. bar on a MRO or tableframe.
  4263.  
  4264. Regards,
  4265.  
  4266. Bill
  4267.  
  4268. #: 32086 S4/Forms
  4269.     01-Jun-93  12:33:10
  4270. Sb: #31959-No Sliders?
  4271. Fm: Rick Fillman (Sysop) 76702,273
  4272. To: Steve Zilora 71510,1007 (X)
  4273.  
  4274.  > As far as I know, scoll bars can only be put on the form.
  4275.  
  4276. TableFrames and Multi-Record objects (not just Forms) can have
  4277. scroll bars (though, you can't control their location.)
  4278.  
  4279.      Rick Fillman, Tech Support (Borland)
  4280.  
  4281. #: 31953 S4/Forms
  4282.     31-May-93  18:02:46
  4283. Sb: #31902-#No Sliders?
  4284. Fm: Randy Magruder (Borland) 70720,663
  4285. To: Steve Zilora 71510,1007 (X)
  4286.  
  4287. Steve,
  4288.  
  4289. You need a repeater, essentially.  The problem is that you only get a
  4290. mouseDown event once.  You certainly don't want to go into an infinite loop.
  4291. I suggest you consider starting a timer against the button:
  4292.  
  4293. Button::mouseDown
  4294.      self.setTimer( <interval> )
  4295.  
  4296. Button::mouseUp
  4297.      self.killTimer()
  4298.  
  4299. Button::timer
  4300.      active.action(DataNextRecord)
  4301.  
  4302. This way you will scroll until you lift off the mouse.
  4303.  
  4304. Randy
  4305.  
  4306. #: 31904 S4/Forms
  4307.     31-May-93  12:49:42
  4308. Sb: #Form Letters
  4309. Fm: John Myszka 71573,366
  4310. To: Sysop (X)
  4311.  
  4312. I'm trying to create form letters for a database of about 2,500 names.  My
  4313. word processor is unable to work with this many names.  Is there a simple way
  4314. to create form letters with simple variables (name, address, etc.) using PFW?
  4315.  
  4316. Thanks,
  4317.   John
  4318.  
  4319. * Reply:  32084
  4320.  
  4321. #: 32084 S4/Forms
  4322.     01-Jun-93  12:33:01
  4323. Sb: #31904-#Form Letters
  4324. Fm: Rick Fillman (Sysop) 76702,273
  4325. To: John Myszka 71573,366 (X)
  4326.  
  4327.  > Is there a simple way to create form letters with simple
  4328.  > variables (name, address, etc.) using PFW?
  4329.  
  4330. We're talking about Mail Merge.  For simple letters, use the Report
  4331. designer.  Create a HUGE Text Box.  You text box will cover the entire
  4332. page.  Inside this text box you will BOTH type the text of your letter
  4333. (font it etc., how you like) AND you will insert fields into the text as
  4334. you like.  These fields "float" in the text.  I.e. they behave just like
  4335. they were words in you text.
  4336.  
  4337.      Rick Fillman, Tech Support (Borland)
  4338.  
  4339. #: 31911 S1/Miscellaneous
  4340.     31-May-93  13:32:34
  4341. Sb: #Memory & Resource Probs.
  4342. Fm: Maurice Doran 73770,1605
  4343. To: Tanj Bennett [Borland R& 70642,1211 (X)
  4344.  
  4345. Is anyone at Borland aware of a problem with system resources when using
  4346. Quattro Pro Win and Paradox Win under PC Tools for Windows?
  4347.  
  4348. I support a large community of PC Users, some of which use Quattro and Paradox
  4349. simultaneously.  They often run into memory/resource problems on their 486
  4350. SX-33 PC's.  Their computers use DOS-6 and all have 8Mb of RAM.
  4351.  
  4352. Depending on the oder in which they load and unload applications, very often
  4353. their resources drop around 19% and they start running into trouble.  I know
  4354. that the systems have enough memory but it's the resources that seem to be
  4355. causing the problem...
  4356.  
  4357. Any suggestions or comments ???
  4358.  
  4359. Thanks,
  4360.  
  4361. Maurice
  4362.  
  4363. * Reply:  31913
  4364.  
  4365. #: 31913 S1/Miscellaneous
  4366.     31-May-93  13:49:10
  4367. Sb: #31911-#Memory & Resource Probs.
  4368. Fm: John Rendell 70474,377
  4369. To: Maurice Doran 73770,1605 (X)
  4370.  
  4371. Maurice - I am running QproWin and Pdoxwin under PCTools for windows.  Part
  4372. of the resource problem is PCTools itself.  Unless you have 16 meg of ram, I
  4373. would scrap it.  Just the desktop open - no programs running - take 19-23%
  4374. of my system resources with 16 meg.  If this is a four meg or even an 8 meg
  4375. machine, there might only be +/- 60% of system resources (Memory) left.
  4376. Now subtract out 2 meg for windows itself, any allocations for a disk cache
  4377. (probably 1 meg if you did not optimize windows).
  4378.  
  4379.        -Wig
  4380.  
  4381. #: 31922 S2/Install/CFG/HrdWare
  4382.     31-May-93  14:37:41
  4383. Sb: #Starting Paradox
  4384. Fm: F C DASTOOR 76440,2017
  4385. To: sysop (X)
  4386.  
  4387. When I tried to start up Paradox for Windows I get a error message "unable to
  4388. initialise ODAPI -Directory is busy"
  4389.  
  4390. I have tried to restart after rebooting with no success. What is the problem?
  4391. What can I do to correct it?
  4392. Please help.
  4393.  
  4394. * Reply:  31974
  4395.  
  4396. #: 31974 S2/Install/CFG/HrdWare
  4397.     31-May-93  20:07:53
  4398. Sb: #31922-Starting Paradox
  4399. Fm: John Rendell 70474,377
  4400. To: F C DASTOOR 76440,2017 (X)
  4401.  
  4402. F C
  4403.  
  4404. Delete any .lck and .net files.
  4405.  
  4406.        -Wig
  4407.  
  4408. #: 31926 S3/Tables/TableView
  4409.     31-May-93  15:14:56
  4410. Sb: image data
  4411. Fm: Gilbert R Hillman 70730,3640
  4412. To: sysop (X)
  4413.  
  4414. I am a new Paradox for Windows user, trying to create a database of
  4415. medical images. I can convert the images into various forms
  4416. such as tif or bmp. I want to be able to leaf through the images quickly, and
  4417. I'm not happy with how this seems to work if OLE is used; additionally, since
  4418. the images come from medical imaging devices and we don't edit them, there is
  4419. no sense in having a draw program or some such being activated every time I
  4420. want to see an image.
  4421.         I tried making an image field and putting the images into it by "paste
  4422. from". This works, bith for some (but not all) tif and bmp images, but each
  4423. time I add an image to the table an ".mb" file gets bigger by about the size
  4424. of the image data. It appears that the images are being copied into the
  4425. database; what I want to happen is that I store in the database the name of
  4426. the image file, and Paradox gets it from that location and displays it when I
  4427. want to see it,  rather than making a copy when the table is created. I have
  4428. gigabytes of images, and can't possibly afford to duplicate them all in a
  4429. database.
  4430.         Probably I'm doing this wrong; I hope you can clear up my confusion.
  4431.  
  4432. #: 31940 S1/Miscellaneous
  4433.     31-May-93  16:31:10
  4434. Sb: #31581-Referential Integrity?
  4435. Fm: Bob Clegg 100236,2277
  4436. To: Weylan Wang -(Sysop)- 76702,1067 (X)
  4437.  
  4438. Further to the referential integrity problem.
  4439. 1) Create a two field table (Child). The first field Numeric (Serial
  4440. Number)and the primary index. The second
  4441. field A4.(Alph)
  4442.  
  4443.  
  4444. 2)Create another table (Parent) with two fields. First field A4(Alph) is the
  4445. primary index. The second field
  4446. A4(Dummy)
  4447.  
  4448. 3) Create referantial integrity between Child and Parent using field Alph.
  4449.  
  4450. 4) Put 4 records into Parent, starting with the letter "a" through to "d" in
  4451. field Alph. No need for entry into
  4452. field Dummy.
  4453.  
  4454. 5) Put 4 records into Child. Numbers 1 to 4 in Serial Number. Letters "a" to
  4455. "d" in Alph.
  4456.  
  4457. Now try to add 5 to each of the serial numbers using a changeto query.
  4458. ie.  "example", >=1, changeto "example" + 5
  4459.  
  4460. You will get an empty changed table and and errorchange table.
  4461.  
  4462. Go back and remove the referential integrity.
  4463.  
  4464. The query now works.
  4465.  
  4466. Individual alterations of Serial Number by editing always work.
  4467.  
  4468. I hope the above adequately defines the problem.
  4469. Regards.
  4470. Bob.
  4471.  
  4472. #: 31944 S2/Install/CFG/HrdWare
  4473.     31-May-93  16:53:17
  4474. Sb: #Initializing ODAPI
  4475. Fm: F C DASTOOR 76440,2017
  4476. To: SYSOP (X)
  4477.  
  4478. In an earlier message I had a problem in that on trying to start Paradox I get
  4479. a message saying "cannot initialise ODAPI.  Directory is busy".
  4480.  
  4481. Nothing helped not even rebooting.
  4482.  
  4483. I then un installed Paradox completely from my disk and also removed sall
  4484. related files fromthe windows subdirectory.
  4485.  
  4486. I then reinstalled Paradox and still have the same problem.
  4487. Everything was working fine until I had exited the program to take a break and
  4488. then it failed to restart.
  4489.  
  4490. I am using Norton Desktop for Windows as my desktop.
  4491. Please help. I need to get restarted as soon as possible.
  4492.  
  4493. Firdaus
  4494.  
  4495. * Reply:  32269
  4496.  
  4497. #: 32269 S2/Install/CFG/HrdWare
  4498.     01-Jun-93  18:40:50
  4499. Sb: #31944-#Initializing ODAPI
  4500. Fm: Neil Stelling 100136,714
  4501. To: F C DASTOOR 76440,2017 (X)
  4502.  
  4503. I have had this problem when pdoxwin has crashed, and I try to reload it.  The
  4504. answer for me was to exit windows, and then re-enter Windows and load Paradox
  4505. again - it loads with no problem.  If you have the same problem I don't
  4506. understand why rebooting didn't work.
  4507.  
  4508. * Reply:  32578
  4509.  
  4510. #: 32578 S2/Install/CFG/HrdWare
  4511.     02-Jun-93  19:52:08
  4512. Sb: #32269-#Initializing ODAPI
  4513. Fm: F C DASTOOR 76440,2017
  4514. To: Neil Stelling 100136,714
  4515.  
  4516. Re booting did not help. I even removed the entire program from the disk and
  4517. then reloaded it and it still did not work.  Ultimately I had to load Paradox
  4518. on drive D and it is now working. Cannot understand it.
  4519.  
  4520. * Reply:  32734
  4521.  
  4522. #: 32734 S2/Install/CFG/HrdWare
  4523.     03-Jun-93  12:15:38
  4524. Sb: #32578-Initializing ODAPI
  4525. Fm: Steve Neverve (Sysop) 71333,114
  4526. To: F C DASTOOR 76440,2017
  4527.  
  4528. FC,
  4529.  
  4530. Sorry for jumping in late but this information may help.  The error message
  4531. "Cannot find Odapi" can occur for a couple of reasons.  First, if you
  4532. received a GPF in PFW, you will need to exit Windows before you can reload
  4533. PFW.  Second, if you have placed your ODAPI files in a directory other than
  4534. WINDOWS\SYSTEM, you will need to place that directory in your path.
  4535. Finally, if the ODAPI files are in the Windows\System directory, make sure
  4536. that the drive letter is before Windows in your path; ie
  4537. Path=C:\Windows;C:\DOS etc.
  4538.  
  4539. Steve
  4540.  
  4541. #: 31952 S1/Miscellaneous
  4542.     31-May-93  17:31:15
  4543. Sb: #Report View/Print Crash
  4544. Fm: Duane Erautt 76424,2253
  4545. To: all
  4546.  
  4547.   I have created a report consisting of around fifty lines that I am going to
  4548. use for a timetable.  The report crashes when you try to preview or print it.
  4549. I tried removing lines until, I got the report to the point where it wouldn't
  4550. crash.  I noticed that when previewing the report the report is drawn
  4551. immediately.  When I add one more line that will cause it to crash, I noticed
  4552. a long delay with a lot of disk access before it actually crashes. Almost no
  4553. disk activity occurs when the report is in a state that will preview
  4554. correctly.
  4555.   I've tried running this report on several computers, (486DX-33Mhz 16Megs
  4556. ram, 386SX-25, 386DX-35) with several different configurations.  Nothing seems
  4557. to make the least bit of difference.  I am prepared to upload the file so
  4558. anyone can check if it crashes their machine.
  4559.  
  4560. * Reply:  32146
  4561.  
  4562. #: 32146 S1/Miscellaneous
  4563.     01-Jun-93  15:08:42
  4564. Sb: #31952-#Report View/Print Crash
  4565. Fm: Steve Neverve (Sysop) 71333,114
  4566. To: Duane Erautt 76424,2253 (X)
  4567.  
  4568. Duane,
  4569.  
  4570. How many objects are on your form?  Try making sure that your lines are not
  4571. crossing.  Also, select all of the objects, hold down the CTRL key and
  4572. right-click. Next, choose run time and uncheck fit width and fit height.
  4573.  
  4574. Steve
  4575.  
  4576. * Reply:  32180
  4577.  
  4578. #: 32180 S1/Miscellaneous
  4579.     01-Jun-93  16:35:44
  4580. Sb: #32146-Report View/Print Crash
  4581. Fm: Duane Erautt 76424,2253
  4582. To: Steve Neverve (Sysop) 71333,114 (X)
  4583.  
  4584. In my report, I have around fifty lines. There are around three boxes.  The
  4585. lines do cross,  I will try changing the lines so that they don't cross, but
  4586. it seems pointless that paradox would not allow you to do this.  What I have
  4587. to create is a timetable outline, with lines breaking up the days of the week
  4588. as well as the hours of the day.  I have turned off the runtime resizing, but
  4589. it didn't help.
  4590.  
  4591.                                         THANKS
  4592.  
  4593. #: 31956 S4/Forms
  4594.     31-May-93  18:38:37
  4595. Sb: #Form execution of query
  4596. Fm: Fred  W. Kulikoff 71712,2521
  4597. To: Anyone who can help
  4598.  
  4599. Help! anyone.
  4600.         I am a new Paradox for Windows user and have just stared to learn the
  4601. ObjectPal language. I have been trying to get a query to execute from a form
  4602. using the syntax:
  4603.  
  4604. method pushButton(var eventInfo Event)
  4605. var
  4606.         tv TableView
  4607. endvar
  4608. executeQBEFile("bldgserv.qbe", "bldgserv.db")
  4609. tv.open("bldgserv.db")
  4610. endmethod
  4611.  
  4612. The query does execute but the resulting table does not contain all the
  4613. information that it does when I execute the query from the folder. The
  4614. existing QBE file contains many calculated fields. The resulting table when
  4615. run from the folder corrrectly shows all of these fields. When run from the
  4616. form the table has many of these fields blank. The field headings are there
  4617. but the results are not.
  4618.         What am I doing wrong? Any help would be greatly appreciated.
  4619.  
  4620. * Reply:  32085
  4621.  
  4622. #: 32085 S4/Forms
  4623.     01-Jun-93  12:33:06
  4624. Sb: #31956-Form execution of query
  4625. Fm: Rick Fillman (Sysop) 76702,273
  4626. To: Fred  W. Kulikoff 71712,2521
  4627.  
  4628.  
  4629. Under certain circumstances, executeQBEFile can produce results
  4630. which differ (from that which you get by manually executing the
  4631. query).  These circumstances are ones where there are blank
  4632. values in the fields involved in the calculations.
  4633.  
  4634. If this is your circumstance, you can get accurate results by
  4635. switching to executeQBE instead.  See the example on p.349 of the
  4636. Opal Ref. book.
  4637.  
  4638. Tip:  With executeQBE you will actually embed the query
  4639. definition IN you OPal code - but don't try to type it in.  You
  4640. ALREADY have what you need in your QBE file.  So, perform
  4641. Edit|Paste from File while you are in OPal Edit mode.  Name the
  4642. existing QBE file, and the text description of the query will
  4643. show up.
  4644.  
  4645.      Rick Fillman, Tech Support (Borland)
  4646.  
  4647. #: 31960 S2/Install/CFG/HrdWare
  4648.     31-May-93  19:10:41
  4649. Sb: #Paradox/win won't run
  4650. Fm: Bob Lynch 70621,3565
  4651. To: Robert Ramirez (Sysop) 76702,255 (X)
  4652.  
  4653. Bob,
  4654.         I have started Windos in standard mode as suggested elseware and I
  4655. have over 6 MB of true RAM in addition I have a 10 MB swap file, for a total
  4656. of 16 MB virtual memory. If PDW takes more than this just to load how much do
  4657. you suggest i have to make it run. I am sure I have enough memory. I
  4658. frequently get General Protection Fault At 0001:4FEC at the same place during
  4659. loading. The Meeter show 33% loaded every time when it stops. I have nothig
  4660. else running in windows except the program manager, which of course is
  4661. required.
  4662.         If I need more RAM as implied then Borland should say so before they
  4663. advertise it. Could something be going wrong during the install process, or do
  4664. you think I may have bad distribution disks??
  4665.         Any further help would be appreciated,
  4666.                                         Thankyou,
  4667.  
  4668. * Reply:  32212
  4669.  
  4670. #: 32212 S2/Install/CFG/HrdWare
  4671.     01-Jun-93  17:56:01
  4672. Sb: #31960-#Paradox/win won't run
  4673. Fm: Jon Asher (Sysop) 71333,2146
  4674. To: Bob Lynch 70621,3565 (X)
  4675.  
  4676. Bob-
  4677.  
  4678. You may need to ensure that all 6MB of your RAM are configured as extened (if
  4679. you are using a memory manager such as QEMM, this could be a major issue).
  4680. Also, try installing and running Paradox on a "clean" system.  GP errors
  4681. commonly result from memory conflicts.  I recommend that you call Borland
  4682. TechFax @  800/822-4269 and request document number 1283 which reviews the
  4683. steps involved in setting up a clean configuration.  If you don't have a fax,
  4684. the basic steps include:
  4685.  
  4686. Remove all lines except FILES, BUFFERS, and HIMEM.SYS from your CONFIG.SYS
  4687. file.
  4688. Remove all lines except PATH, PROMPT, and any net drivers from AUTOEXEC.BAT
  4689. file.
  4690.  
  4691. Then, try loading Paradox.  Hopefully, this will resolve the problem.
  4692.  
  4693. Jon
  4694.  
  4695. * Reply:  32610
  4696.  
  4697. #: 32610 S2/Install/CFG/HrdWare
  4698.     02-Jun-93  22:02:57
  4699. Sb: #32212-Paradox/win won't run
  4700. Fm: Bob Lynch 70621,3565
  4701. To: Jon Asher (Sysop) 71333,2146
  4702.  
  4703. Jon,
  4704.         I don't use any TSR's except dos Print and a logitech mouse driver.
  4705. these have never bothered any other windows programs. I even unloaded these
  4706. just to see and no go. I can't beleave there is a comflict with a mouse
  4707. driver, I need that for almost all of my dos programs. I donot use windows
  4708. exclusivly because it is such a hog for most thimgs. I only need windows for
  4709. programs such as PDW that are so much better than dos version. but even then
  4710. if it won't run who needs it. How do I get my money back, I'm fed up.
  4711.  
  4712. #: 31980 S3/Tables/TableView
  4713.     31-May-93  21:10:26
  4714. Sb: #LOOKUPS
  4715. Fm: RICHARD SOMMER 71664,1605
  4716. To: all
  4717.  
  4718. To all,
  4719.    Maybe someone has seen this problem or maybe I'm doing something wrong (or
  4720. perhaps going crazy or both), But I can not get a table to lookup to two
  4721. different tables from two different fields. Field A is set in structure to
  4722. lookup to a table called Folder (with one field). Field B is set to lookup to
  4723. a table called Topic (also with one field only). Everytime I press cntrl
  4724. spacebar to display the lookup for field B the lookup for field A displays
  4725. (also only field A data is accepted). Is this a bug or did they really plan it
  4726. this way ?
  4727.                                            Thanks, Rich Sommer
  4728.  
  4729. * Reply:  32097
  4730.  
  4731. #: 32097 S3/Tables/TableView
  4732.     01-Jun-93  12:47:57
  4733. Sb: #31980-#LOOKUPS
  4734. Fm: David Orriss Jr(Sysop) 75300,1414
  4735. To: RICHARD SOMMER 71664,1605 (X)
  4736.  
  4737. Richard,
  4738.  
  4739.   Sounds like a corrupted VAL file.  Delete the VAL file for the table that
  4740. contains the table lookup and try again.  Hope this helps.
  4741.  
  4742. David
  4743.  
  4744. #: 31987 S1/Miscellaneous
  4745.     31-May-93  22:05:44
  4746. Sb: #GPR
  4747. Fm: mike arm 73310,324
  4748. To: SYSOP 76702,1067 (X)
  4749.  
  4750. 9 times out of 10 when I start PDW, I get the following:
  4751. The bar graph hits 10%.
  4752.  
  4753. PDOXWIN
  4754. An error occurred in your application... CLOSE or IGNORE.
  4755.  
  4756. When CLOSEi ng:
  4757. Caused GPF in module PXSRV.DLL 0002:1DC4
  4758.  
  4759. There seems to be no rhyme or reason to when PDW loads or doesn't. I have
  4760. tried some of the suggestions I have seen for GPF's, but they had no effect.
  4761.  
  4762. I am running a 486/66 with 8 meg of RAM, QEMM, SmartDRV and PCTOOLS for
  4763. WINDOWS under DOS 5.0.
  4764.  
  4765. * Replies:  32014, 32152
  4766.  
  4767. #: 32014 S1/Miscellaneous
  4768.     01-Jun-93  00:31:57
  4769. Sb: #31987-#GPR
  4770. Fm: Don Schubert (TeamB) 70007,4654
  4771. To: mike arm 73310,324 (X)
  4772.  
  4773. Betcha PCtools and smartdrive are taking 98% of your resources and ram <g>...
  4774.  
  4775. Don
  4776.  
  4777. * Reply:  32124
  4778.  
  4779. #: 32124 S1/Miscellaneous
  4780.     01-Jun-93  14:42:21
  4781. Sb: #32014-GPR
  4782. Fm: mike arm 73310,324
  4783. To: Don Schubert (TeamB) 70007,4654 (X)
  4784.  
  4785. PCTOOLS may be, Smartdrv is set to 2048 1024.  The thing is, I can click on
  4786. the PFW icon 3 times and have it fail, but the fourth time it suceeds. This is
  4787. without doing anything in between. Then I exit PFW and try to get back in and
  4788. the same thing happens.
  4789.  
  4790. #: 32152 S1/Miscellaneous
  4791.     01-Jun-93  15:35:51
  4792. Sb: #31987-#GPR
  4793. Fm: Robert Ramirez (Sysop) 76702,255
  4794. To: mike arm 73310,324 (X)
  4795.  
  4796. Hello Mike,
  4797.  
  4798. At around the 10% level, P4W checks the printer device description and what
  4799. fonts are available.  It seems that some printer drivers do not respond
  4800. correctly to the capability enquiries P4W can make.  Also, a very large number
  4801. of fonts (> 130, I'm not sure what the actual threshold is) can cause
  4802. problems, as also can disabling non-TT fonts (this is an option in the Font
  4803. Manager, but we use some non-TT fonts).
  4804.  
  4805. So, things to do include ensuring non-TT fonts are enabled, and if your fonts
  4806. exceed a hundred it may be worth pruning some out.  Also, you might try
  4807. installing a "vanilla" print driver if you have an unusual one, and ensure
  4808. your printer driver is a Win3.1 vintage (Win3.1 upgrade does not replace your
  4809. 3.0 printer driver, you must do that explicitly, so many people still have
  4810. older print drivers without realising it).
  4811.  
  4812. ~Robert
  4813. Borland Tech. Support
  4814.  
  4815. * Reply:  32321
  4816.  
  4817. #: 32321 S1/Miscellaneous
  4818.     01-Jun-93  20:42:53
  4819. Sb: #32152-#GPR
  4820. Fm: mike arm 73310,324
  4821. To: Robert Ramirez (Sysop) 76702,255 (X)
  4822.  
  4823. Hmmmmmmmm! I do have a lot of fonts. Print driver is OKIDATA OL400. Windows
  4824. is new to my machine (both winodws and machine (finally got rid of the old
  4825. XT)) so I do not have any old drivers. For some reason, I had no default
  4826. printer assigned, but PDW started right up this eve. Closed it and it started
  4827. again, no problem.
  4828.  
  4829. Even if the fonts were a problem, wouldn't the problem be consistent?
  4830.  
  4831. thanks for the response.
  4832.  
  4833. * Reply:  32580
  4834.  
  4835. #: 32580 S1/Miscellaneous
  4836.     02-Jun-93  19:55:18
  4837. Sb: #32321-GPR
  4838. Fm: Robert Ramirez (Sysop) 76702,255
  4839. To: mike arm 73310,324
  4840.  
  4841. Hello Mike,
  4842.  
  4843. Glad your up a running... it most likely had to with having a default printer
  4844. assigned.
  4845.  
  4846. ~Robert
  4847. Borland Tech. Support
  4848.  
  4849. #: 31989 S1/Miscellaneous
  4850.     31-May-93  22:20:29
  4851. Sb: #Hangs after Deletion
  4852. Fm: Jim Norman 72212,2574
  4853. To: sysop (X)
  4854.  
  4855. Hi, I recently purchased Paradox for Windows to replace my address application
  4856. that I wrote in Foxbase.  I sat down one weekend and blasted away, reading in
  4857. my Foxbase database, restructuring it and creating some forms to use it. I
  4858. then used <Ctrl><Del> to delete some long gone friends.  The next time I
  4859. started up and tried to do a Search, I found that half the database had
  4860. disappeared, the system was hung and I had the message that everything but the
  4861. header was corrupt. This has happened to me twice in a row and am naturally a
  4862. bit reluctant to go through the whole process again without knowing what's
  4863. happening. If it helps, I'm running on a Dell 320sli with 10MB of Ram. Any
  4864. ideas? Jim Norman
  4865.  
  4866. * Reply:  32048
  4867.  
  4868. #: 32048 S1/Miscellaneous
  4869.     01-Jun-93  10:36:08
  4870. Sb: #31989-Hangs after Deletion
  4871. Fm: Dan Ehrmann (TeamB) 70007,4644
  4872. To: Jim Norman 72212,2574 (X)
  4873.  
  4874. Jim:
  4875.  
  4876. After you import the records into your Paradox table, but before you start
  4877. mass-deletions, restructure the table and click on the "Pack Table" box to
  4878. compress and rebuild it.
  4879.  
  4880. BTW, are you using the Paradox or dBase native table type?  Whichever, try the
  4881. other to see if it makes a difference.  (To convert from to other, simply
  4882. issue a "File - Utilities - Copy" and copy .DB to .DBF or v.v.
  4883.  
  4884.  
  4885. [Dan -> ]
  4886.  
  4887. #: 32001 S4/Forms
  4888.     31-May-93  23:25:30
  4889. Sb: #Misc
  4890. Fm: Bradley Tubbs 70702,3245
  4891. To: sysop (X)
  4892.  
  4893. How can I delete a parent record and all of its dependents on a form?
  4894.  
  4895. * Reply:  32087
  4896.  
  4897. #: 32087 S4/Forms
  4898.     01-Jun-93  12:33:15
  4899. Sb: #32001-Misc
  4900. Fm: Rick Fillman (Sysop) 76702,273
  4901. To: Bradley Tubbs 70702,3245 (X)
  4902.  
  4903.  > How can I delete a parent record and all of its dependents on a
  4904.  > form?
  4905.  
  4906. If you have definded Ref.Int between the Parent and child table,
  4907. you will have to delete the record(s) in the child table
  4908. (yourself) first.
  4909.  
  4910. Using OPal, this would go something like:
  4911.  
  4912. tc.attach(ChildTableObject)
  4913. tc.edit()
  4914. while tc.nrecords>0
  4915.      tc.deleterecord()
  4916.      ; don't need to worry about moving the record pointer here
  4917.      ; if the deleteRecords works, the pointer advances to the next
  4918.      ; remaining record
  4919. endwhile
  4920.  
  4921.      Rick Fillman, Tech Support (Borland)
  4922.  
  4923. #: 32005 S1/Miscellaneous
  4924.     31-May-93  23:48:14
  4925. Sb: #PDOXWIN -VGA STACK FAULT
  4926. Fm: Harry Smith 72117,2055
  4927. To: SYS OP
  4928.  
  4929. I have just finished installing Paradox for Windows and for the last hour I
  4930. have been trouble shooting to make it run.  The error message I receive is a
  4931. STACK FAULT in Module VGA.DRV at 0002:03A2.
  4932.  
  4933. I am running an Oak Tech VGA Bios Dv 2.17-351 and an American Megatrends Bios
  4934. date 2/2/91.  Can anyone there help me to find the conflict.  Right now
  4935. Paradox is useless to me because it won't run.
  4936.  
  4937. Thanks,
  4938. Harry
  4939.  
  4940. * Replies:  32296, 32310
  4941.  
  4942. #: 32296 S1/Miscellaneous
  4943.     01-Jun-93  19:36:28
  4944. Sb: #32005-#PDOXWIN -VGA STACK FAULT
  4945. Fm: Mike Irwin/Co-Assist 100114,1437
  4946. To: Harry Smith 72117,2055 (X)
  4947.  
  4948. Harry,
  4949.  
  4950. no SysOp I, but ...
  4951.  
  4952. one thing a lot of people have had trouble with is hi-rez drivers. Try setting
  4953. Windows to use its own VGA driver and see if the problems go away. If so, get
  4954. the latest OakTech drivers from the MSL forum
  4955.  
  4956. hope this helps
  4957.  
  4958. Mike
  4959.  
  4960. * Reply:  32352
  4961.  
  4962. #: 32352 S1/Miscellaneous
  4963.     01-Jun-93  23:39:28
  4964. Sb: #32296-PDOXWIN -VGA STACK FAULT
  4965. Fm: Harry Smith 72117,2055
  4966. To: Mike Irwin/Co-Assist 100114,1437 (X)
  4967.  
  4968. Mike,
  4969.  
  4970. Thank you for your help..your tip on the Oak Tech Drivers I will pursue..Let
  4971. me bring you up to date since I posted the message yesterday.  I've narrowed
  4972. my problem down to my Win.ini file.  Here's how I came to that conclusion.  I
  4973. began tonite by stripping my config.sys and my autoexec.bat files down to the
  4974. bare necessities.  My problem did not go away.  I then dug down in my file
  4975. drawer and came up with a dos backup of my window files dated 6/29/92.  I
  4976. renamed my current win.ini and system.ini files and restored both of these.
  4977. Guess what my problem went away.  I then replace my 1992 system.ini file with
  4978. the 1993 file and still the problem was not there.  I then replaced my 1992
  4979. win.ini file with the 1993 win.ini and there it was a stack fault in module
  4980. VGA.DRV AT 0002:03A2.  I have not been able to pinpoint the exact area as yet
  4981. but at least I've narrowed the source.
  4982. Thanks again,
  4983. Harry
  4984.  
  4985. #: 32310 S1/Miscellaneous
  4986.     01-Jun-93  20:04:58
  4987. Sb: #32005-#PDOXWIN -VGA STACK FAULT
  4988. Fm: Brian Reed (Sysop) 71333,2360
  4989. To: Harry Smith 72117,2055 (X)
  4990.  
  4991. Harry,
  4992.  
  4993. If you are using a 3rd party video driver switch to the Windows Standard VGA
  4994. driver.  If the problem goes away using this driver contact the video card
  4995. manufacturer for an updated driver.  Also check your config.sys file for the
  4996. line  Stacks = 9,256, if it's not there, add it.
  4997.  
  4998. Hope this helps.
  4999.  
  5000. Brian Reed (sysop)
  5001.  
  5002. * Reply:  32354
  5003.  
  5004. #: 32354 S1/Miscellaneous
  5005.     01-Jun-93  23:44:31
  5006. Sb: #32310-#PDOXWIN -VGA STACK FAULT
  5007. Fm: Harry Smith 72117,2055
  5008. To: Brian Reed (Sysop) 71333,2360 (X)
  5009.  
  5010. Brian,
  5011.  
  5012. I am using a Windows driver.  I'm sorry to admit that it was the 3.0 driver,
  5013. but this didn't make any difference.  I do have the 9,256 stacks line in my
  5014. config.sys.  As I replied to Mike I think I have it narrowed down to my
  5015. WIN.INI file but as yet I'm not sure where.  I leaning towards my color
  5016. schemes right now, but don't ask me why.
  5017.  
  5018. thanks,
  5019. harry
  5020.  
  5021. * Reply:  32570
  5022.  
  5023. #: 32570 S1/Miscellaneous
  5024.     02-Jun-93  19:14:41
  5025. Sb: #32354-PDOXWIN -VGA STACK FAULT
  5026. Fm: Brian Reed (Sysop) 71333,2360
  5027. To: Harry Smith 72117,2055
  5028.  
  5029. Harry,
  5030.  
  5031. When you reinstalled your Windows driver did you delete the 3.0 driver off
  5032. your system first?
  5033.  
  5034. Brian Reed (sysop)
  5035.  
  5036. #: 32015 S1/Miscellaneous
  5037.     01-Jun-93  00:39:03
  5038. Sb: #Graphics and Status Bar
  5039. Fm: Steven and Dawn Kei 71033,2676
  5040. To: all
  5041.  
  5042. I had posted a message here about a month ago about Paradox for windows
  5043. looking for a file called IBMGRX.DRV at startup.  I have been unable to locate
  5044. this file on any other forum (IBM or Microsoft).  Paradox for windows is the
  5045. only program that I have ever needed it for, so can you help me locate it???
  5046.  
  5047.  
  5048. Also, we are having a problem with the Status bar not showing in any window
  5049. under Paradox.  You can kind of see the top of it but no character
  5050. information.  We have tried resizing the window, maximizing, everything I can
  5051. think of but nothing gets the Status bar to display....  Can anyone help or
  5052. give me some ideas.  I don't know if its related to the problem above
  5053. either....
  5054.  
  5055. Thanks.....
  5056.  
  5057. S.K.
  5058.  
  5059. * Replies:  32049, 32367
  5060.  
  5061. #: 32049 S1/Miscellaneous
  5062.     01-Jun-93  10:36:12
  5063. Sb: #32015-#Graphics and Status Bar
  5064. Fm: Dan Ehrmann (TeamB) 70007,4644
  5065. To: Steven and Dawn Kei 71033,2676 (X)
  5066.  
  5067. S.K.
  5068.  
  5069. I cannot answer the IBMGRX.DRV problem, but here is a solution for the other:
  5070.  
  5071. Make sure that your WIN.INI has the following line in the FONTS section:
  5072.  
  5073.        HELV=MS SANS SERIF
  5074.  
  5075.  
  5076.  
  5077. [Dan -> ]
  5078.  
  5079. #: 32367 S1/Miscellaneous
  5080.     02-Jun-93  01:29:11
  5081. Sb: #32015-#Graphics and Status Bar
  5082. Fm: Brian Bushay (TeamB) 76711,516
  5083. To: Steven and Dawn Kei 71033,2676 (X)
  5084.  
  5085. Steven
  5086.  
  5087.  
  5088.  
  5089. >Also, we are having a problem with the Status bar not showing in any window
  5090. >under Paradox.  You can kind of see the top of it but no character
  5091.  
  5092. Do you have or have you ever had PageMaker installed on your system?  It
  5093. installs some special fonts (that it doesn't seem to need) that cause the
  5094. status bar to have very tiny fonts.
  5095.  
  5096. Brian
  5097.  
  5098. * Reply:  32621
  5099.  
  5100. #: 32621 S1/Miscellaneous
  5101.     02-Jun-93  22:52:20
  5102. Sb: #32367-#Graphics and Status Bar
  5103. Fm: Steven and Dawn Kei 71033,2676
  5104. To: Brian Bushay (TeamB) 76711,516 (X)
  5105.  
  5106. The status bar is exactly as you descrbe it.  You can just see the top of it
  5107. but no characters.  I have never installed pagemaker on this PC.  The  PC is
  5108. an IBM PS/2 Model P70.
  5109.  
  5110. Please let me know if you have any suggestions.
  5111.  
  5112. S.K.
  5113.  
  5114. * Reply:  32661
  5115.  
  5116. #: 32661 S1/Miscellaneous
  5117.     03-Jun-93  02:33:47
  5118. Sb: #32621-Graphics and Status Bar
  5119. Fm: Brian Bushay (TeamB) 76711,516
  5120. To: Steven and Dawn Kei 71033,2676
  5121.  
  5122. Steven
  5123.  
  5124. >Please let me know if you have any suggestions.
  5125.  
  5126. There is probably some font in your system that is giving you problems.
  5127.  
  5128. If your running any Alternate font system like ATM try turning it of
  5129.  
  5130.  
  5131. There should be a section WIN.INI called [FontSubstitutes]
  5132. There has to be the following line in that section
  5133. Helv=MS Sans Serif
  5134. This is the font that Paradox wants to use in your status line.
  5135. for some reason that isn't what it is getting.
  5136.  
  5137. Also in the [Fonts] section MS Sans Serif needs to be defined and the font
  5138. file it is mapped to has to exist
  5139.  
  5140. If either of the above are missing then that is probably your problem.
  5141.  
  5142. Otherwise you can start commenting out anything but the above two lines that
  5143. looks like a font and isn't a true type font.
  5144.  
  5145. Another alternative is to Reinstall windows.  You can then compare a Clean
  5146. Win.ini to your old Win.ini
  5147.  
  5148. Brian
  5149.  
  5150. #: 32032 S1/Miscellaneous
  5151.     01-Jun-93  08:18:25
  5152. Sb: #Hello and a few Q's
  5153. Fm: STEVE RUDOLPH 71651,645
  5154. To: ALL
  5155.  
  5156. I'm new to the forum and would like to say hello.
  5157.  
  5158. I also have a few questions. 1. Is there a way to package a form so an end
  5159. user could use a database, but without Paradox (only windows)?
  5160.  
  5161. 2. How do I attach checkboxes to data in tables?  For example, I want to check
  5162. information for a record and have it register in a table.  Would the table
  5163. need to be set to 'binary' as opposed to 'A'?
  5164.  
  5165. 3.  When I start up Paradox, I get a user message "Graphic file could not be
  5166. opened.  What's that about?
  5167.  
  5168. * Reply:  32298
  5169.  
  5170. #: 32298 S1/Miscellaneous
  5171.     01-Jun-93  19:36:50
  5172. Sb: #32032-Hello and a few Q's
  5173. Fm: Mike Irwin/Co-Assist 100114,1437
  5174. To: STEVE RUDOLPH 71651,645
  5175.  
  5176. Steve
  5177.  
  5178. 0. Welcome here !
  5179.  
  5180. 1. You package your forms, etc, so people don't nick your beautifully-crafted
  5181. code. There _will_, we are assured, be a runtime version which you distribute
  5182. a copy of with your applications (one per user, like DLLs, not one per app !)
  5183.  
  5184. The most recent note on this subject is today from Steve Neverve (SysOp):
  5185.  
  5186. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We have
  5187. not released a date for Run Time as of yet.  However, we have announced a
  5188. developers licence that will take place of run-time until the its available.
  5189. We are authorizing the distribuion of P4W with your applications with the
  5190. purchase of this license.  For more information you can contact our ordr line
  5191. at 800-331-0877.
  5192. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  5193.  
  5194. 2. When you pick a checkbox or a radiobutton you get something happening in
  5195. newValue() and, when you leave the field (for radiobuttons), in changeValue().
  5196. I've ben using a lot of radiobuttons lately, and like putting some validation
  5197. code in the radiobutton (otherwise just an unbound field) newValue() before I
  5198. send it off to the table. I also do things like moveTo()s depending on the
  5199. radiobutton choice.
  5200.  
  5201. 3. Open P4W anain, choose the Properties main menu choice, and you'll see an
  5202. option to have some wallpaper on your desktop. You've almost certainly got
  5203. either an invalid filename in there, of a good filename, but of a file that's
  5204. been deleted or moved.
  5205.  
  5206. hope this helps
  5207.  
  5208. Mike
  5209.  
  5210. #: 32034 S1/Miscellaneous
  5211.     01-Jun-93  08:33:28
  5212. Sb: #DEVELOPER PARTNERS PROG
  5213. Fm: Craig Bartkowiak 72162,1214
  5214. To: SYSOP (X)
  5215.  
  5216. How can I get more information about the Developer Partners Program?
  5217.  
  5218. What I am looking for is a "Partner" to help me develop applications  in
  5219. Paradox for Windows.  I have written 2 stand alone applications in Pdox 3.5
  5220. and a few suito applications (glorified data entry sessions).  These
  5221. applications will be used in manufacturing.  I am a manufacturing engineer and
  5222. my responsibilities are process management.  I am also the MIS department
  5223. thus, I really need to shorten the learning curve.
  5224.  
  5225. Our company is not currently network and therefore the applications we create
  5226. will be on a stand alone system for the short term.  In the next 12 to 18
  5227. months we plan to be networked although a defined platform and strategy has
  5228. not been developed.  We are a small company of 60 to 70 employees
  5229. manufacturing advanced structural ceramics with sales of 7MM.   Maybe the
  5230. first question I should have asked was, "Can Pdox fill our needs as a
  5231. database?"
  5232.  
  5233. My expectations of a partner would be one to also act as a tutor/mentor to
  5234. help me understand correct application development.   As part of this
  5235. tutor/mentor role I would envision this partner developing some actual code
  5236. for the applications.
  5237.  
  5238. Can the Paradox Developer Partners Program fill these needs?
  5239.  
  5240. Craig Bartkowiak
  5241. Boride Products, Inc.
  5242.  
  5243. * Reply:  32368
  5244.  
  5245. #: 32368 S1/Miscellaneous
  5246.     02-Jun-93  01:29:16
  5247. Sb: #32034-#DEVELOPER PARTNERS PROG
  5248. Fm: Brian Bushay (TeamB) 76711,516
  5249. To: Craig Bartkowiak 72162,1214 (X)
  5250.  
  5251. Craig
  5252.  
  5253. The Developers Partners program is a program to get additional support
  5254. options for application developers.  There should have be a brochure in your
  5255. Box that PdoxWin came in.  However the benefits offered do not include the
  5256. kind of mentoring program your after.
  5257.  
  5258. The number to reach the Developers Partners Program is 1 800 331-0877
  5259.  
  5260. Brian
  5261.  
  5262. #: 32069 S4/Forms
  5263.     01-Jun-93  11:34:48
  5264. Sb: #Calculated Fields
  5265. Fm: Alan Deikman 70541,507
  5266. To: All
  5267.  
  5268. I have been having a bitch of a time trying to get a calculated field to work.
  5269. The field is contained in a TableFrame, and I want to call a library function.
  5270. Say the method in the library is
  5271.  
  5272.   method XX(src String, dst String) string
  5273.     return src + "/" + dst
  5274.   endmethod
  5275.  
  5276. OK, so the page object declares the LIB variable, opens it in the OPEN method,
  5277. the USES template is there.  I can access the XX method from the calculated
  5278. field by going:
  5279.  
  5280.   XX("A", "B")
  5281.  
  5282. and I get "A/B" in every field of the tableframe.  But I absolutely cannot get
  5283. any reference to a field in the data model to work when I substitute one for
  5284. one of the literals.  I get an "error in calculated field" dialog box.  Help?
  5285.  
  5286. * Reply:  32546
  5287.  
  5288. #: 32546 S4/Forms
  5289.     02-Jun-93  17:48:25
  5290. Sb: #32069-#Calculated Fields
  5291. Fm: Rick Fillman (Sysop) 76702,273
  5292. To: Alan Deikman 70541,507 (X)
  5293.  
  5294.  > cannot get any reference to a field in the data model
  5295.  > to work when I substitute one for one of the literals.
  5296.  
  5297. Hmmm.  Just what are you substuting for "A" or "B".  Names of
  5298. fields, I take it?  Did you use the Copy Button (that you see in
  5299. the Calc Field dialog) to insert the names of the fields?
  5300.  
  5301. If these questions don't lead you discovering the solution for
  5302. yourself, then please reply with an exact sample of something
  5303. (from your calc field spec) that fails.
  5304.  
  5305.     Rick Fillman, Tech Support (Borland)
  5306.  
  5307. * Reply:  32722
  5308.  
  5309. #: 32722 S4/Forms
  5310.     03-Jun-93  11:36:00
  5311. Sb: #32546-Calculated Fields
  5312. Fm: Alan Deikman 70541,507
  5313. To: Rick Fillman (Sysop) 76702,273
  5314.  
  5315. Rick,
  5316.  
  5317. I finally solved it by deleting the table frame and creating it from scratch.
  5318. Add this to your list of advice to new ObjectPAL programmers, such as myself:
  5319.  
  5320.         "Thou shalt consider containership in object references"
  5321.  
  5322. As it turns out, in my editing and re-editing of the objects, I think I had
  5323. two objects using the same name, "address," including the name of a Paradox
  5324. data base field.  Anyway, the object reference was not in the scope I thought
  5325. it was and the diagnostic from the dialog box was no help.  Anyway, thanks for
  5326. your help.
  5327.  
  5328. #: 32070 S1/Miscellaneous
  5329.     01-Jun-93  11:35:18
  5330. Sb: #Locate Speed
  5331. Fm: David Finley 71051,3511
  5332. To: All
  5333.  
  5334. I find the locate command is extremely slow when searching for data in my
  5335. database.
  5336.  
  5337. My database is a basic address table with approx 50,000 records.  I am
  5338. searching for last names using Ctrl-Z.  The last name field is the first field
  5339. in the structure, and is defined as the primary key - along with an ID number.
  5340. If I perform a locate for the value "nel..", it can take over a minute to find
  5341. a match.  However, if I do a query with the same search term, it will produce
  5342. a result in a few seconds.  Is this to be expected?  I would think that since
  5343. the table is ordered by last name, it shouldn't take so long to find a match.
  5344.  
  5345.  
  5346. I am running a 486SX-25 with 8MB of RAM, with Smartdrv set to 512kb.
  5347.  
  5348. Also, is there an easy way to set an ID number field to a default value for
  5349. each record?  For example, as the user is entering new records, I would like
  5350. the ID field to automatically be set to the ID value of the previous record
  5351. plus one.
  5352.  
  5353. Thanks in advance,
  5354.  
  5355. David Finley
  5356.  
  5357. * Reply:  32369
  5358.  
  5359. #: 32369 S1/Miscellaneous
  5360.     02-Jun-93  01:29:21
  5361. Sb: #32070-Locate Speed
  5362. Fm: Brian Bushay (TeamB) 76711,516
  5363. To: David Finley 71051,3511 (X)
  5364.  
  5365. David
  5366.  
  5367. Unfortuanatly Zooms and locatates for values other than exact matches do not
  5368. use indexes.
  5369. If you can find the value by setting a Filter you will get fast results.
  5370. Filters use indexes
  5371.  
  5372.  
  5373. >Also, is there an easy way to set an ID number field to a default value for
  5374. >each record?  For example, as the user is entering new records, I would like
  5375.  
  5376. Check out the Code on page 49 of the learning OPAL manual and/or page 282 of
  5377. the ObjectPal developers manual.
  5378.  
  5379. Brian
  5380.  
  5381. #: 32079 S4/Forms
  5382.     01-Jun-93  12:11:18
  5383. Sb: #Zoom
  5384. Fm: george kwong 70031,427
  5385. To: all
  5386.  
  5387. Hi
  5388.         Is there a way to use the "ZOOM" feature other than calling
  5389. MenuAction(MenuPropertiesZoomFitWidth). With the call to MenuAction(), this
  5390. function is not stable. There are two conditions when this call is not
  5391. functioning; the first condition is when the form is opened as Dialog, the
  5392. second is a customer menu is active.
  5393.         thank you any one who can help george
  5394.  
  5395. * Reply:  32870
  5396.  
  5397. #: 32870 S4/Forms
  5398.     03-Jun-93  17:53:41
  5399. Sb: #32079-Zoom
  5400. Fm: Rick Fillman (Sysop) 76702,273
  5401. To: george kwong 70031,427
  5402.  
  5403.  > Is there a way to use the "ZOOM" feature other than
  5404.  > calling MenuAction(MenuPropertiesZoomFitWidth).
  5405.  
  5406. When a custom menu is active, you can try
  5407. eventinfo.setid(MenuConstant)
  5408.  
  5409. Hope this helps.
  5410.  
  5411.     Rick Fillman, Tech Support (Borland)
  5412.  
  5413. #: 32098 S4/Forms
  5414.     01-Jun-93  12:48:15
  5415. Sb: #Form won't load
  5416. Fm: Leon Chalnick 72077,1421
  5417. To: all
  5418.  
  5419. I have set up an application that has forms calling other forms.  The problem
  5420. I'm having is when calling any form from two (2) specific forms. I've got a
  5421. splash screen (form) that can call any other form in the system. But there are
  5422. two forms, that when they are on the workspace I cannot open any other forms.
  5423. I get a form open error (-30533).  These two forms are the forms the
  5424. application are built around.  They have the majority of the code, ,the
  5425. majority of fields, and are multi-page (one is 6 pages and the other is 4
  5426. pages).  Everything works fine on the computers at my office, but when it was
  5427. installed at the client's, these problems appeared.  We installed the
  5428. application on the client's network and have P4W on two workstations.  On one
  5429. system it works ok (IBM model 80) but on the system we really need it, we
  5430. can't get it to function properly (IBM model 90).  They're running Novel
  5431. netware 3.11 on an IBM Token ring. They have a windows shell program called
  5432. "applications manager" by automated design systems ver 4.1c.  Files=100 in
  5433. both the config.sys and the netx.cfg.  We don't have share running, but that
  5434. doesn't seem to be an option because the network administrator doesn't want to
  5435. put it on.  Any suggestions would be appreciated
  5436.  
  5437. * Reply:  32547
  5438.  
  5439. #: 32547 S4/Forms
  5440.     02-Jun-93  17:48:30
  5441. Sb: #32098-Form won't load
  5442. Fm: Rick Fillman (Sysop) 76702,273
  5443. To: Leon Chalnick 72077,1421
  5444.  
  5445.  > I get a form open error (-30533).
  5446.  
  5447. This translates (using enumRTLconstants) to "peFormOpenFailed"
  5448. Lotta help, aren't I <weak grin>
  5449.  
  5450. So, anyway you could code the form.open like:
  5451.  
  5452. if NOT f.open("filename.fsl") then errorshow() endif
  5453.  
  5454. then we might be able to get to the underlying error.
  5455.  
  5456. Meanwhile, what about memory on this (particular) machine?.  How
  5457. much RAM total.  How much "avail.XMS" prior to starting Windows.
  5458. How much RAM does Windows report (ProgMan|Help|About)?
  5459.  
  5460.     Rick Fillman, Tech Support (Borland)
  5461.  
  5462. #: 32113 S2/Install/CFG/HrdWare
  5463.     01-Jun-93  13:37:59
  5464. Sb: #insuff.memory message
  5465. Fm: Lucy Jackson 71551,3335
  5466. To: sysop (X)
  5467.  
  5468. I left a message last week re: insufficient memory message, P4W won't load. I
  5469. received no reply.  Someone else posted a message re: the same problem - no
  5470. reply there either, that I could see.
  5471.  
  5472. I used a clean boot, have 16M RAM. No go.  One message referred to checking
  5473. the settings in PDOXWIN.INI . Guess what?  I couldn't find PDOXWIN.INI . It
  5474. turns out that when I loaded P4W (on my F:\ drive with 28M free), my D:\ drive
  5475. with windows on it was nearly full.  The Odapi files loaded in
  5476. D:\windows\system, but there must have been no room left for the .ini files on
  5477. the drive.  I made some room on my \windows drive, re-installed, and
  5478. everythings  ok.
  5479.  
  5480. So now you have another suggestion for people that can't get P4W to load: make
  5481. sure that the .ini files were installed.
  5482.  
  5483. And I have a suggestion for the P4W install program:  As well as checking for
  5484. adequate memory on the destination drive for P4W, check for adequate memory on
  5485. the \windows drive for the system & .ini files.
  5486.  
  5487. I recall seeing something about BORSUG or some-such place for making
  5488. suggestions. I'll see if I can find it and post this INSTALL suggestion.
  5489.  
  5490. I'm sure there are _very_ few people who would find themselves in this
  5491. situation, but hopefully this would help them.
  5492.  
  5493. -Lucy
  5494.  
  5495. * Reply:  32582
  5496.  
  5497. #: 32582 S2/Install/CFG/HrdWare
  5498.     02-Jun-93  19:55:29
  5499. Sb: #32113-insuff.memory message
  5500. Fm: Robert Ramirez (Sysop) 76702,255
  5501. To: Lucy Jackson 71551,3335
  5502.  
  5503. Hello Lucy,
  5504.  
  5505. Thanks for the information... I'm sorry that you didn't receive a reply.  We
  5506. do try and answer all the questions but sometimes messages do slip by.  We're
  5507. sorry for any inconvenience that this may have caused you and hope that we may
  5508. be of service to you at a later date.
  5509.  
  5510. ~Robert
  5511. Borland Tech. Support
  5512.  
  5513. #: 32114 S3/Tables/TableView
  5514.     01-Jun-93  13:48:33
  5515. Sb: #DE in a table with pic
  5516. Fm: Scott Strool 71022,260
  5517. To: All
  5518.  
  5519. How can i put a display format on a date field in a table and still enter data
  5520. into
  5521. the table. I have a date field that I only care about month and year, so I
  5522. have a picture ##/01/## and I set the display to mmm ####, So the table looks
  5523. like
  5524. Feb 1993 for dates 02/01/93. With the format on I get an error message
  5525. "Format is Display only. Need Day or Month". I enter the date as ##/##.
  5526. letting
  5527. Paradox fill in the slashes and the 01 for day. What is up with this?
  5528.  
  5529. * Reply:  32458
  5530.  
  5531. #: 32458 S3/Tables/TableView
  5532.     02-Jun-93  12:21:49
  5533. Sb: #32114-DE in a table with pic
  5534. Fm: David Orriss Jr(Sysop) 75300,1414
  5535. To: Scott Strool 71022,260 (X)
  5536.  
  5537. Scott,
  5538.  
  5539.   Looks like a design issue, the system will only allow a date format that
  5540. includes the Month, Day, and Year, but the date formatting system is still
  5541. letting you create a format of Month/Year.  CIS mail me your address.  I'm
  5542. going to log a report on it.
  5543.  
  5544.  
  5545. David
  5546.  
  5547. #: 32115 S4/Forms
  5548.     01-Jun-93  13:50:45
  5549. Sb: #Default form pos and siz
  5550. Fm: Scott Strool 71022,260
  5551. To: All
  5552.  
  5553. If i size and postion a form to the way I want it and then save and reopen it
  5554. It does not go the the same size or position. I know I can position the form
  5555. with opal, but what about the size, Do I need to calculate that as well. I had
  5556. hoped that the form would know the size that it was saved with.
  5557.  
  5558. * Replies:  32393, 32407
  5559.  
  5560. #: 32393 S4/Forms
  5561.     02-Jun-93  06:38:02
  5562. Sb: #32115-Default form pos and siz
  5563. Fm: GARY HANDLEY 100271,1164
  5564. To: Scott Strool 71022,260 (X)
  5565.  
  5566. Scott,
  5567.  
  5568. I had this problem too. If you go into design mode and zoom to 50% and select
  5569. the page you will see the page handles. Resize your form using these handles.
  5570. If you want it full size then make the page biggger than the screen.
  5571.  
  5572. Return to 100% Right click on the forms blue title bar and set the size to fit
  5573. property. Save, close and reopen your form. Voila!
  5574.  
  5575. This will work, good luck
  5576.  
  5577. Gary.
  5578. London.
  5579.  
  5580. #: 32407 S4/Forms
  5581.     02-Jun-93  09:06:31
  5582. Sb: #32115-Default form pos and siz
  5583. Fm: Dan Ehrmann (TeamB) 70007,4644
  5584. To: Scott Strool 71022,260 (X)
  5585.  
  5586. Scott:
  5587.  
  5588. You need to adjust the physical soze of the form using:
  5589.  
  5590.        "Form - Page - Layout"
  5591.  
  5592. from the menus.  Then, right-click on the form's title bar and make sure that
  5593. "Size-To-Fit" is checked.
  5594.  
  5595.  
  5596. [Dan -> ]
  5597.  
  5598. #: 32116 S4/Forms
  5599.     01-Jun-93  13:52:13
  5600. Sb: #More information
  5601. Fm: Kenneth Sole 72113,3517
  5602. To: Quinn Wildman (Sysop) 76703,3033 (X)
  5603.  
  5604. Hi Quinn, I recently said that I would let you know if I had further
  5605. information about this blank field difficulty: a moment ago, while in edit
  5606. mode, and with a record on screen that was near the "end" of the sorted table
  5607. (that is a last name "Veneable", I used CRTL-Z locate to move to a record that
  5608. was near the "top" of the sorted table, that is, the last name "Beatrice."
  5609. When the Beatrice record came to screen, the detail field for the table
  5610. "Attended" appeared blank.  As before, touching in succession PgDn then PgUp
  5611. caused that field to then reveal the two entries that it contained.  In the
  5612. above description, I am certain of all the details.  I look forward to your
  5613. help with this, as it is feeling rather serious.  Thanks again, Kenneth
  5614.  
  5615. * Reply:  32548
  5616.  
  5617. #: 32548 S4/Forms
  5618.     02-Jun-93  17:48:34
  5619. Sb: #32116-#More information
  5620. Fm: Rick Fillman (Sysop) 76702,273
  5621. To: Kenneth Sole 72113,3517 (X)
  5622.  
  5623.  > When the Beatrice record came to screen, the detail
  5624.  > field .. appeared blank.
  5625.  
  5626. Yes.  If you first put the pointer back to the Top of the file,
  5627. this won't occur.  That's one way of dealing with this situation.
  5628.  
  5629.     Rick Fillman, Tech Support (Borland)
  5630.  
  5631. * Reply:  32575
  5632.  
  5633. #: 32575 S4/Forms
  5634.     02-Jun-93  19:38:48
  5635. Sb: #32548-More information
  5636. Fm: Kenneth Sole 72113,3517
  5637. To: Rick Fillman (Sysop) 76702,273 (X)
  5638.  
  5639. Hi Rick, It seems to me that the difficulty that I am having is fundamental to
  5640. the use of the product.  I certainly can appreciate difficulties that arise as
  5641. a user deals with the subtleties.  I might be missing something but as of now
  5642. it seems that this problem is pretty basic.... Thanks for your efforts,
  5643. Kenneth
  5644.  
  5645. #: 32123 S4/Forms
  5646.     01-Jun-93  14:40:26
  5647. Sb: #Index problem in form
  5648. Fm: Steve Askin 71307,2532
  5649. To: SYSOP (X)
  5650.  
  5651. I have a CONTACTS form which joins my CONTACTS (parent)  and PEOPLE (child)
  5652. tables, both in *.DBF format.  This morning, I tried to change one of the
  5653. indexes in the Contacts table.  On attempting to save the changed index, I got
  5654. an error message.
  5655.  
  5656. Now, when I call up the CONTACTS form, I get this error message:
  5657.   "Cannot open CONTACTS.DBF, Index does not exist, do you want to open it
  5658. without this index?"
  5659.  
  5660. If I choose yes, it opens and works just fine, though the index I was trying
  5661. to change is now missing.
  5662.  
  5663. If I open the Table, I get no error and no problems.
  5664.  
  5665. Why is this happening?  What can I do to update my indexes?
  5666.  
  5667. * Reply:  32549
  5668.  
  5669. #: 32549 S4/Forms
  5670.     02-Jun-93  17:48:40
  5671. Sb: #32123-#Index problem in form
  5672. Fm: Rick Fillman (Sysop) 76702,273
  5673. To: Steve Askin 71307,2532 (X)
  5674.  
  5675.  > tried to change one of the indexes in the Contacts table.age.
  5676.  
  5677. What did you try to change about it?
  5678.  
  5679.  > Now, when I call up the CONTACTS form, I get this error
  5680.  > message:  "Cannot open CONTACTS.DBF, Index does not exist, do
  5681.  > you want to open it without this index?"
  5682.  
  5683.  > If I choose yes, it opens and works just fine, though the
  5684.  > index I was trying to change is now missing.
  5685.  
  5686. You'll need to get the index back to the way it was originally.
  5687.  
  5688. When you perform File|Utils|Restructure, just what is the current
  5689. index specification?  Can you restore it to what it used to be?
  5690.  
  5691. I don't know if this help you ... but I don't have alot to go
  5692. on.
  5693.  
  5694.     Rick Fillman, Tech Support (Borland)
  5695.  
  5696. * Reply:  32614
  5697.  
  5698. #: 32614 S4/Forms
  5699.     02-Jun-93  22:16:10
  5700. Sb: #32549-#Index problem in form
  5701. Fm: Steve Askin 71307,2532
  5702. To: Rick Fillman (Sysop) 76702,273 (X)
  5703.  
  5704. Rick:
  5705. The definition has about five indexes for specific fields and one multi-field
  5706. (substring) index.  As I should have mentioned, I'm working in Dbase format.
  5707.  
  5708.  
  5709. Since sending my last message, I erased and recreated some of the individual
  5710. indexes.
  5711.  
  5712. This seems to have solved the problem.  However, I'm very nervous about it.
  5713. I'd like, for example, to create a second substring type index, but am afraid
  5714. that doing so could cause more errors.
  5715.  
  5716. Does this help you diagnose my problem any better?
  5717.  
  5718. * Reply:  32771
  5719.  
  5720. #: 32771 S4/Forms
  5721.     03-Jun-93  13:18:02
  5722. Sb: #32614-Index problem in form
  5723. Fm: Rick Fillman (Sysop) 76702,273
  5724. To: Steve Askin 71307,2532
  5725.  
  5726.  > Does this help you diagnose my problem any better?
  5727.  
  5728. First, I'm pleased to hear you are back on course.
  5729.  
  5730. One of the inherent differeces between dBASE & Pdox is that dBASE
  5731. allows indexs to be created using a dBASE *expression*.  Paradox
  5732. tables do not allow this.  Now, PdoxWin supports the use (of
  5733. course) of both Pdox and dBASE indexes.
  5734.  
  5735. HOWEVER, when dBASE indexes are used in linking, they need to be
  5736. indexes built on a single field value.
  5737.  
  5738. Does this help you?
  5739.  
  5740.      Rick Fillman, Tech Support (Borland)
  5741.  
  5742. #: 32125 S3/Tables/TableView
  5743.     01-Jun-93  14:45:07
  5744. Sb: #Key field
  5745. Fm: Kurt Schmidt 72360,2755
  5746. To: All
  5747.  
  5748. I am working my way into PdoxWin, so I am a novice.  Keeping that in mind, I
  5749. wonder whether I am the only one who wishes that PdoxWin would have a special
  5750. "self-index" field type.  Just about every table I create musthave an index,
  5751. if not for itself then because it needs to keep secondary indices updated.  I
  5752. am getting tired of typying in the same code and setting up the same one field
  5753. - one record tables just to keep the index straight.  With a special "index"
  5754. field type this could all be created without the intervention of the
  5755. programmer and would certainly save me a lot of repetetive work and a lot of
  5756. otherwise useless tables.
  5757.  
  5758. Now, I do understand there may be times when the programmer might like to deal
  5759. with the primary key himself.  That's fine, then she could use N instead of I
  5760. (I propose the field type either I for index for K for key) and deal with it
  5761. helself.  I think that would give a lot of flexibility and convenience to
  5762. PdoxWin.
  5763.  
  5764. What do you think?
  5765.  
  5766. Kurt
  5767.  
  5768. * Reply:  32404
  5769.  
  5770. #: 32404 S3/Tables/TableView
  5771.     02-Jun-93  09:06:19
  5772. Sb: #32125-Key field
  5773. Fm: Dan Ehrmann (TeamB) 70007,4644
  5774. To: Kurt Schmidt 72360,2755 (X)
  5775.  
  5776. Kurt:
  5777.  
  5778. I think you are asking for an auto-incrementing field, so that each record has
  5779. a unique ID.  Many other developers have also asked for the same thing, and
  5780. Borland is aware of these concerns.
  5781.  
  5782. Meanwhile, you can very easily add this capability with just a little
  5783. ObjectPAL programming.  Look in the Learning ObjectPAL manual for information
  5784. on "auto-incrementing" fields.
  5785.  
  5786.  
  5787. [Dan -> ]
  5788.  
  5789. #: 32168 S3/Tables/TableView
  5790.     01-Jun-93  15:57:20
  5791. Sb: #Help for new user
  5792. Fm: John Roland 76667,3144
  5793. To: Sysop (X)
  5794.  
  5795. Please let me mention experience with databases prior to Paradox for Windows:
  5796. relatively none.  I do have an understanding of database concepts, but have
  5797. never had hands on experience with a relational database.  I need to create a
  5798. database using multi record layouts and was told that Paradox for Windows
  5799. would be best. So please don't laugh at the question that I am about to ask.
  5800. ... For a simple example, how do you get Paradox to perform simple arithmetic
  5801. on certain fields?  For example, you have the fields CHARGES, PAYMENTS,
  5802. BALANCE.  How do you subtract PAYMENTS from CHARGES and have the answer
  5803. reported in BALANCE?  I am very used to working in spreadsheets whereby all
  5804. you do is type in a formula and appply it to a range or column and all values
  5805. are updated automatically.
  5806.  
  5807. I am able to do this in a Form, but I am not able to have that reflected in
  5808. the table.  I have gone through the manual many times, and the only place that
  5809. mentions what I want is chapeter 12 in the User's Guide, pages 445-447.  It
  5810. mentions nothing about implementing this in a Table. Thank you for any help,
  5811. hints, or pointers.
  5812.  
  5813. * Reply:  32405
  5814.  
  5815. #: 32405 S3/Tables/TableView
  5816.     02-Jun-93  09:06:22
  5817. Sb: #32168-#Help for new user
  5818. Fm: Dan Ehrmann (TeamB) 70007,4644
  5819. To: John Roland 76667,3144 (X)
  5820.  
  5821. John:
  5822.  
  5823. In relational databases, "derived" data is not stored.  Your BALANCE field is
  5824. derived from CHARGES - PAYMENTS.
  5825.  
  5826. Instead, in a form or a report, you can create this data using a calculated
  5827. field which is virtual; it does not exist in the table, only the form or
  5828. report.
  5829.  
  5830.  
  5831. [Dan -> ]
  5832.  
  5833. #: 32193 S1/Miscellaneous
  5834.     01-Jun-93  17:03:36
  5835. Sb: #General Faults
  5836. Fm: Cliff Missen 70742,1536
  5837. To: Brian Reed (Sysop) 71333,2360 (X)
  5838.  
  5839. Yo Brian!
  5840.  
  5841. I read with great interest your questions for Mr. Thompson regarding the
  5842. source of his GFs.
  5843.  
  5844. What I would truly love to see is a similar document that, instead of just
  5845. asking the questions, also offers the answers.  (i.e. Is SHARE loaded high or
  5846. low? --> answer: load it low.)
  5847.  
  5848. A little more explanation will go a long way.
  5849.  
  5850. I have frequent Windows crashes on my machine and am recommending against PfW
  5851. for our network since I don't want to spend the bulk of my next year
  5852. experimenting with every machine on my net.
  5853.  
  5854. -- Cliff
  5855.  
  5856. * Replies:  32572, 32709
  5857.  
  5858. #: 32572 S1/Miscellaneous
  5859.     02-Jun-93  19:14:51
  5860. Sb: #32193-General Faults
  5861. Fm: Brian Reed (Sysop) 71333,2360
  5862. To: Cliff Missen 70742,1536
  5863.  
  5864. Cliff,
  5865.  
  5866. There is an excellent document in the section 1 library that should help you
  5867. with this.  Download document t1283.zip.
  5868.  
  5869. Brian Reed (sysop)
  5870.  
  5871. #: 32709 S1/Miscellaneous
  5872.     03-Jun-93  10:35:38
  5873. Sb: #32193-General Faults
  5874. Fm: Weylan Wang -(Sysop)- 76702,1067
  5875. To: Cliff Missen 70742,1536
  5876.  
  5877. How about this?
  5878. What where you doing when you get this GPF and what module does this
  5879. occur in?
  5880.  
  5881. Do you have a printer selected as default?
  5882.           You should have one selected that supports GRAPHICS.
  5883.  
  5884. Have you tried using standard VGA mode if you are runing an enhanced
  5885.      viedo driver?  This is something greater than (640x480) resolution
  5886.      with more then 16 colors.
  5887.           You should at least try to load the STANDARD VGA that comes with
  5888. Windows
  5889.           at least once.  You can always reload the original driver afterwards
  5890.           once you locate the problem.
  5891.  
  5892. Do you have at least 4 megs extended of memory free after starting the
  5893.      system and before starting Microsoft Windows?
  5894.           The minimum requirements are 4 megabytes of FREE XMS memory before
  5895. you
  5896.           start Windows.  We still recommend that you should have 6 megabytes
  5897. of
  5898.           XMS memory on the machine.
  5899.  
  5900. Do you have smartdrive set up?
  5901.  
  5902. If you have smartdrive set up, and have only 4 megs of ram total, is
  5903.      it set for less then 512K?
  5904.  
  5905. Do you have SHARE loaded with the parameters of at least
  5906.      'share /l:400 /F:4096'?
  5907.            These parameters are REQUIRED and in the readme.
  5908.  
  5909. If you have SHARE loaded, do you have it loaded LOW or HIGH?
  5910.            SHARE, not Paradox for Windows, is not happy being loaded HIGH in
  5911. some
  5912.            instances.  You should try loading it low first until the system is
  5913.            stable.
  5914.  
  5915. If you have a network, did you load SHARE before the drivers or after
  5916.      then network drivers?
  5917.            It should be loaded first.
  5918.  
  5919. Are you using Norton desktop for Windows?
  5920.            Norton desktop for Windows can interfear with the installation.
  5921. You may
  5922.            want to uninstall Norton desktop for Windows, install Paradox for
  5923. Windows
  5924.            and then reinstall Norton desktop for Windows back again.
  5925.  
  5926. Have you tried unloading other device drivers at least temporarily
  5927.      before loading windows?
  5928.  
  5929. Are you running a screen saver like afterdark?  There are DLL's
  5930.      associated with afterdark that they have an update for.
  5931.  
  5932. Do you have a permanent swap file and is it set up to be in a non-compressed
  5933.      partition?
  5934.            If you are running DOS 6.0, you must have installed as a custom
  5935.            installation or the system may put your permanent swapfile on the
  5936.            compressed drive if you used compression.  There is no way to
  5937. uninstall
  5938.            the compression without reformating the drive so be careful when
  5939.            installing DOS 6.0.
  5940.  
  5941. Are you running a PIM or something with alarms?
  5942.  
  5943. If you have more then 8 megs of RAM, have you tried running in
  5944.      standard mode?
  5945.            This can exclude other running programs that could be causing a
  5946. conflict.
  5947.  
  5948. Are you running a 3270 emulator or IRMA emulation?
  5949.            You may need to disable the driver for the card or update the
  5950. driver.
  5951.  
  5952. Are you using WinFAX PRO? Do you have autoanswer
  5953. g([622Z!*600000000000XG23,CPS22(62U:Z00X3C6*72D.3
  5954. Z24o&2728*_V2X36R*GZ&20C&23,&Z26R"30C&2g
  5955.  
  5956. #: 32195 S1/Miscellaneous
  5957.     01-Jun-93  17:04:57
  5958. Sb: #File Locking w/Netw Lite
  5959. Fm: Dinyar Wadia 71042,3411
  5960. To: All
  5961.  
  5962. I have (2) computers using Novell Netware Lite 1.1. Each computer has its own
  5963. Paradox licenced software. Both computers can access all files with no
  5964. problem. The problem is that the record locking does not appear to be
  5965. operating. Both computers can access the same record and the status line says
  5966. that it is locked on both machines, but the record can be editted on both
  5967. machines. If I move off the record on each machine, and back to the record,
  5968. each machine maintains its own version of the record, I am not sure which
  5969. version gets saved in the end. Hopefully this will all make sense to someone.
  5970. Please help.
  5971.  
  5972. * Reply:  32371
  5973.  
  5974. #: 32371 S1/Miscellaneous
  5975.     02-Jun-93  01:29:31
  5976. Sb: #32195-File Locking w/Netw Lite
  5977. Fm: Brian Bushay (TeamB) 76711,516
  5978. To: Dinyar Wadia 71042,3411 (X)
  5979.  
  5980. Dinyar
  5981.  
  5982.  
  5983. >each machine maintains its own version of the record, I am not sure which
  5984. >version gets saved in the end. Hopefully this will all make sense to someone.
  5985. >Please help.
  5986.  
  5987. You need to have DOS share loaded on both machines.
  5988. In the Config Utility
  5989.     You need to have "Local share On" checked.
  5990.     You need to both machines configured to use the .net file in the same
  5991.       Physical location.
  5992.  
  5993. Brian
  5994.  
  5995. #: 32204 S1/Miscellaneous
  5996.     01-Jun-93  17:21:23
  5997. Sb: #Large-scale Database
  5998. Fm: Brendan Delumpa 72410,520
  5999. To: ALL/Tech Support
  6000.  
  6001. My company is in the process of putting together a proposal for a customer who
  6002. will require a very large database (> 2GB in size), once all the records have
  6003. been converted or input.  We have a concern that that size of database may bog
  6004. down PdoxWin, so we are looking for alternative solutions, still using
  6005. PdoxWin. I suggested that we connect to a dedicated database server, accessing
  6006. the data from a Paradox for Windows client environment.  However, how
  6007. realistic is this?  or is the native PC environment suitable for a database
  6008. this size?  Any input you can give would be appreciated.
  6009.  
  6010. Brendan
  6011.  
  6012. * Reply:  32399
  6013.  
  6014. #: 32399 S1/Miscellaneous
  6015.     02-Jun-93  08:22:12
  6016. Sb: #32204-Large-scale Database
  6017. Fm: Dan Ehrmann (TeamB) 70007,4644
  6018. To: Brendan Delumpa 72410,520 (X)
  6019.  
  6020. Brendan:
  6021.  
  6022. You may have trouble managing this much data in Paradox.  Paradox tables are
  6023. limited to 256megs each, although memo, graphic and binary data is stored in
  6024. separate files.
  6025.  
  6026. However, using Paradox as a front-end to a database-server (running under the
  6027. "client-server model") is a highly appropriate solution to your problem. The
  6028. data resides on a server which is designed to handle huge volumes of
  6029. information, with all of the integrity management and tools that you expect
  6030. and need.  Paradox is used as the front end, for data entry and editing,
  6031. queries and reporting, and to present an attractive and functional UI.
  6032.  
  6033. Unfortunately, Paradox does not yet work as a front-end to database servers.
  6034. Borland has said publicly that they are working on this technology, and it has
  6035. even been demonstrated at a number of public meetings.  When it is available
  6036. (and I'm guessing it will be within 3-4 months), you will be able to use
  6037. Paradox as a front-end to Oracle, MS Sybase SQL Server, and Borland's own
  6038. Interbase.  In future versions, Borland promises support for other popular
  6039. database servers, including perhaps OS/2, DB2, Informix and others.
  6040.  
  6041. If you would like more information, a good source would be your local Borland
  6042. office, where a Systems Engineer can provide details that may not available
  6043. here on a tech support forum.
  6044.  
  6045.  
  6046. [Dan -> ]
  6047.  
  6048.  
  6049. [Dan -> ]
  6050.  
  6051. #: 33771 S1/Miscellaneous
  6052.     08-Jun-93  08:37:53
  6053. Sb: #33481-#Large-scale Database
  6054. Fm: Dan Ehrmann (TeamB) 70007,4644
  6055. To: Brendan Delumpa 72410,520 (X)
  6056.  
  6057. Brendan:
  6058.  
  6059. Re: client-server functionality.  I don't know what kind of rewrites will be
  6060. necessary, but I think it will be minimal.  Borland's objective is to
  6061. implement data transparency, so that your information can reside virtually
  6062. anywhere and you can still run the same applications against it.
  6063.  
  6064. A lot will depend on the functionality in the underlying server.  For example,
  6065. if the server does not support scrollable cursors, it will be very difficult
  6066. for Paradox to implement a tableview - type browse facility.
  6067.  
  6068. Re, Kallista, We currently offer an ObjectPAL class that is an introduction.
  6069. But it also includes many advanced topics.  We are always working to improve
  6070. our training offerings and will have news soon.
  6071.  
  6072.  
  6073. [Dan -> ]
  6074.  
  6075. #: 33966 S1/Miscellaneous
  6076.     08-Jun-93  19:34:16
  6077. Sb: #33839-Large-scale Database
  6078. Fm: Brendan Delumpa 72410,520
  6079. To: T. Pat Kelly 6121,47
  6080.  
  6081. T. Pat,
  6082.  
  6083. What a great idea!  Kind of a forum type of class.  Kind of reminds me of
  6084. graduate level classes at school.  However, I should qualify my request for an
  6085. advanced class by saying that in addition to having strong PDOXDOS background,
  6086. attendees should have a strong background in OPAL as well.  I was thinking
  6087. that this type of class would be geared more towards advanced application of
  6088. the language.
  6089.  
  6090. Brendan
  6091.  
  6092. #: 32206 S1/Miscellaneous
  6093.     01-Jun-93  17:26:01
  6094. Sb: Employment Opportunities
  6095. Fm: Borland Customer Service 76701,101
  6096. To: All
  6097.  
  6098. The following employment opportunities are currently available at Borland:
  6099.  
  6100.  Senior Software Engineer - C/C++ Compiler
  6101.  International Quality Assurance Engineer - dBASE for Windows
  6102.  International Quality Assurance Engineer - Paradox for Windows
  6103.  Senior Technical Writer - dBASE for Windows
  6104.  Senior Technical Writer - Online Help
  6105.  Senior Technical Writer - CBT
  6106.  
  6107. If you are interested in any of these opportunities, please view the job
  6108. descriptions under GO BOR-144 or choose Employment Opportunities from the main
  6109. GO BORLAND menu.  Please contact only the person listed at the bottom of each
  6110. job description for additional information or to apply.
  6111. Thank you.
  6112.  
  6113. #: 32208 S4/Forms
  6114.     01-Jun-93  17:43:52
  6115. Sb: #Index for multi Table
  6116. Fm: Martin  100270,3472
  6117. To: all
  6118.  
  6119. Hi,
  6120. I have a multi table form woith two dependant tables and one main table. I
  6121. want one of the dependant tables to be shown in a descending order (in my
  6122. example: the last contact to a customer should be shown first).
  6123. How is this possible ?
  6124.  
  6125. First: I cannot define a displa index for a dependant table like I can for a
  6126. main table. Or ?
  6127.  
  6128. Second: How can I define descending primary index ?
  6129.  
  6130. Thanx
  6131.  
  6132. Martin
  6133.  
  6134. * Replies:  32317, 32552
  6135.  
  6136. #: 32317 S4/Forms
  6137.     01-Jun-93  20:27:33
  6138. Sb: #32208-Index for multi Table
  6139. Fm: Bill Todd (Kallista) 75046,1345
  6140. To: Martin 100270,3472 (X)
  6141.  
  6142. You can not use a secondary index to set the viewing order of a detail (child)
  6143. table in a multitable form.  Also you can not define a descending index in
  6144. Paradox.
  6145.  
  6146. If you need to see the table in descending order by date you will have to put
  6147. an additional numeric field in the table and calculate the number in the field
  6148. as Number(1/1/3000 - myDate).  That will give you a field you can use in the
  6149. primary key that will cause the table to appear in descending order.
  6150.  
  6151. Bill
  6152.  
  6153. #: 32552 S4/Forms
  6154.     02-Jun-93  17:48:50
  6155. Sb: #32208-Index for multi Table
  6156. Fm: Rick Fillman (Sysop) 76702,273
  6157. To: Martin 100270,3472 (X)
  6158.  
  6159.  > Second: How can I define descending primary index ?
  6160.  
  6161. One small addendum to Bill's excellent answer.
  6162.  
  6163. dBASE tables (supported by PdoxWin) WILL allow you to define a
  6164. descending index.
  6165.  
  6166.     Rick Fillman, Tech Support (Borland)
  6167.  
  6168. #: 32211 S1/Miscellaneous
  6169.     01-Jun-93  17:48:59
  6170. Sb: #Locking Error WFWG
  6171. Fm: Martin  100270,3472
  6172. To: ALL
  6173.  
  6174. Hi,
  6175. I have the following problem using PDOXWIN on a network without a dedicated
  6176. server:
  6177.  
  6178. When two people use the same form on their stations the one doing it on the
  6179. server gets a "locking error" (?, In German this is called "Sperrenfehler")
  6180. almost every time he tabs from one dependant table to another using Super-Tab
  6181. in this multi table form.
  6182.  
  6183. As you have already guessed the network is Windows for Workgroups. It's easy
  6184. to say that this is WFWG's fault but can this error also be caused by my
  6185. programming ?
  6186.  
  6187. I think it's needless to ask for a solution but is there anny ?
  6188.  
  6189. I also missed the complete discussion about PDOXWIN and Windows for
  6190. Workgroups. Where is the exact problem ?
  6191.  
  6192. Thanx
  6193.  
  6194. Martin
  6195.  
  6196. * Reply:  32400
  6197.  
  6198. #: 32400 S1/Miscellaneous
  6199.     02-Jun-93  08:22:17
  6200. Sb: #32211-Locking Error WFWG
  6201. Fm: Dan Ehrmann (TeamB) 70007,4644
  6202. To: Martin 100270,3472 (X)
  6203.  
  6204. Martin:
  6205.  
  6206. The exact problem is that Windows for Workgroups does not return a username
  6207. when Paradox requests one.  Paradox also provides no way for you to configure
  6208. a unique username from within the program.
  6209.  
  6210.  
  6211. [Dan -> ]
  6212.  
  6213. #: 32214 S3/Tables/TableView
  6214.     01-Jun-93  18:04:11
  6215. Sb: #cannot create struct
  6216. Fm: Washington Public Power 72360,1774
  6217. To: Sysop (X)
  6218.  
  6219. Howdy, sysops.
  6220.  
  6221. Am trying to restructure a fairly complex table -- 50 fields, 4 secndxs, and 4
  6222. referential integrity relationships coupled with corresponding table lookups.
  6223.  
  6224. PFW is choking.  I get a message that says "cannot create struct.db".
  6225. Luckily, I am working with an empty copy of my data table.
  6226.  
  6227. I tried deleting struct.db and the .lck files, to no avail.
  6228.  
  6229. Any suggestions?
  6230.  
  6231. Norm Bowler
  6232.  
  6233. * Reply:  32459
  6234.  
  6235. #: 32459 S3/Tables/TableView
  6236.     02-Jun-93  12:21:53
  6237. Sb: #32214-#cannot create struct
  6238. Fm: David Orriss Jr(Sysop) 75300,1414
  6239. To: Washington Public Power 72360,1774 (X)
  6240.  
  6241. Norm,
  6242.  
  6243.  Check your private directory setting.  It sounds like you are trying to use
  6244. a network volume for your private directory.  If you are you may not have
  6245. enough rights in that directory.  If you do have your private directory set
  6246. to a network volume, try resetting it to a local hard drive and try again.
  6247.  
  6248. David
  6249.  
  6250. * Reply:  32498
  6251.  
  6252. #: 32498 S3/Tables/TableView
  6253.     02-Jun-93  14:35:43
  6254. Sb: #32459-cannot create struct
  6255. Fm: Washington Public Power 72360,1774
  6256. To: David Orriss Jr(Sysop) 75300,1414 (X)
  6257.  
  6258. David:
  6259.  
  6260. You are right, my :priv: is on a network volume, but I have exclusive rights
  6261. to the directory, and PFW is unable to create struct for this table only.
  6262.  
  6263. This is not an access rights anomaly.  It is a corrupt table anomaly.  Dang!
  6264. I just deleted it.  I should have sent it to you guys.
  6265.  
  6266. Nerm
  6267.  
  6268. #: 32293 S1/Miscellaneous
  6269.     01-Jun-93  19:23:30
  6270. Sb: #3.5 tables in ObjectPAL
  6271. Fm: Bryden Ritchie 100021,2434
  6272. To: Weylan Wang -(Sysop)- 76702,1067 (X)
  6273.  
  6274. Relating to the thread in Msg 31342, regarding table creation, I know you can
  6275. create a 3.5 format table in Pdox Windows using the "front Panel", however do
  6276. you know how to create one vial ObjectPAL. There is a method which looks like
  6277. it should work, create 'tablename' [, as "tabletype"] - should do the biz, but
  6278. the only "tabletype"s that are mentioned are PARADOX or DBASE! Do you know if
  6279. there is a proper tabletype for paradox 3.5 tables, or is there another way to
  6280. do this? Sorry if this is in the wrong place !Ta
  6281.  :-)
  6282.  
  6283. * Reply:  32708
  6284.  
  6285. #: 32708 S1/Miscellaneous
  6286.     03-Jun-93  10:35:30
  6287. Sb: #32293-3.5 tables in ObjectPAL
  6288. Fm: Weylan Wang -(Sysop)- 76702,1067
  6289. To: Bryden Ritchie 100021,2434 (X)
  6290.  
  6291. Yes, this is the wrong place to ask about OPAL and tablecreation through OPAL.
  6292.  
  6293. There is no way to create a Paradox 3.5 table through OPAL though.  You have
  6294. to go through the creation interactivly to get one or use one already made.
  6295. That is one way for you.  Create the the table empty.  Then when you want that
  6296. one through OPAL, you make a copy of it and fill the table.
  6297.         -(Weylan Wang)-
  6298.         -(Borland Paradox Technical Support)-
  6299.  
  6300. #: 32312 S1/Miscellaneous
  6301.     01-Jun-93  20:16:01
  6302. Sb: dBase file woes
  6303. Fm: Andrew J. Marshall 72223,330
  6304. To: all
  6305.  
  6306. To Borland Paradox for Windows Technical Support:
  6307.  
  6308. (or anyone who might have an answer to my problem)
  6309.  
  6310. Here is my situation:
  6311.  
  6312.         I have about 20 dBase tables with order information
  6313.                 (each table is one clothing brand)
  6314.  
  6315.         I believe all of them have over 300 fields
  6316.  
  6317.         Three of the fields in each table are of inportance to me:
  6318.                 Bill To, Order Month and Order Total
  6319.  
  6320. I want to do the following:
  6321.  
  6322.         On one report, create the following table where each cell       is the
  6323. Order Total for that month and table
  6324.  
  6325.                                 Jan_____Feb_____March___April___etc.____etc.__
  6326. _Total___
  6327. Table1  |_______|_______|_______|_______|_______|_______|_______|
  6328. Table2  |_______|_______|_______|_______|_______|_______|_______|
  6329. Table3  |_______|_______|_______|_______|_______|_______|_______|
  6330. etc.    |_______|_______|_______|_______|_______|_______|_______|
  6331. etc.    |_______|_______|_______|_______|_______|_______|_______|
  6332. Total   |_______|_______|_______|_______|_______|_______Grand Total
  6333.  
  6334.         I think all I need to do is create the logical summation,
  6335.         but I don't know how or if it's even possible?
  6336.  
  6337.                 eg. cumulatively sum Order Total for all records
  6338.                 where Order Month = 1
  6339.  
  6340.  
  6341. On a similar subject:
  6342.  
  6343.         If the 20 tables I had were in Paradox for Windows format,
  6344.         and they all had the fields Order Month and Order Total
  6345.         (that were exactly the same format), would there be a way I
  6346.         could "group on" Order Month to produce sums of Order Total
  6347.         for each table.
  6348.  
  6349.  
  6350. If there is anyone who thinks they can help me, I would greatly appreciate it.
  6351.  
  6352. Please mail me your suggestions at ?????,????
  6353.  
  6354. Thank you,
  6355. Andrew Marshall
  6356.  
  6357. #: 32325 S4/Forms
  6358.     01-Jun-93  21:03:36
  6359. Sb: #Forms
  6360. Fm: Frank Punzo 72262,350
  6361. To: Frank Punzo
  6362.  
  6363. A few problems.... 1) I would like to be able to double click an icon from
  6364.    windows & have it open a Paradox form without having
  6365.    to go to Paradox first & choose "File", "Open".
  6366.    Also, I would like to attach some type of method to an
  6367.    "Exit" button which will close the form & exit to
  6368.    windows. Is this possible? If so, how? 2) I have a form with a 1 to many
  6369. relationship displayed.
  6370.    When I tab past the last field on the "1" part of the
  6371.    form to the first field on the "Many" part of the form,
  6372.    I can't Backtab to the last field on the "1" part of the
  6373.    form. 3) Is there any way to  disable the scroll bars on a form? 4) How do
  6374. you change the order in which EditRegions receive
  6375.    focus when the tab key is pressed in a form?i
  6376.  
  6377. * Reply:  32336
  6378.  
  6379. #: 32336 S4/Forms
  6380.     01-Jun-93  22:35:52
  6381. Sb: #32325-Forms
  6382. Fm: Eddy Bernosky 70544,1777
  6383. To: Frank Punzo 72262,350 (X)
  6384.  
  6385. Hi Frank
  6386.  
  6387. #1 To Start a form   in Windows  Program Manager  in
  6388. File|Properties|CommandLine  add The name of the form to start after the *.exe
  6389. i.e. pdoxwin.exe myform.fsl
  6390.         To Exit PDoxwin from a form  Use
  6391.  
  6392.    If MsgYesNoCancel("EXIT PARADOX","Close Paradox ?") = "Yes" Then
  6393.         ;anything befor exit goes here
  6394.         exit()
  6395.    endif
  6396.  
  6397.  
  6398.                                         Eddy
  6399.  
  6400. #: 32544 S4/Forms
  6401.     02-Jun-93  17:26:34
  6402. Sb: #Forms
  6403. Fm: Jon Jacobs 74017,3611
  6404. To: All
  6405.  
  6406. I have a form in which the user can locate  a record in a certain table. A
  6407. butt button on the form launches another form bound to the same table plus an
  6408. associated detail table.  How can I make the 2nd form contain the same record
  6409. that was selected in the first form? --Jon
  6410.  
  6411. * Reply:  32767
  6412.  
  6413. #: 32767 S4/Forms
  6414.     03-Jun-93  13:17:43
  6415. Sb: #32544-Forms
  6416. Fm: Rick Fillman (Sysop) 76702,273
  6417. To: Jon Jacobs 74017,3611
  6418.  
  6419.  > How can I make the 2nd form contain
  6420.  > the same record that was selected in the first form?
  6421.  
  6422. Something like the following the way I prefer to do this.
  6423. Assumes a Tcursor var named tc, and a Form var names form2nd,
  6424.  
  6425.      ; open and position a tcursor, so tcursor pointer is on current record
  6426.      tc.attach(UiObjectInFirstForm)
  6427.  
  6428.      ; the next line you already have, I suspect
  6429.      form2nd.open("OtherFrm")
  6430.  
  6431.      ; for the display Object in the 2nd form to point to the
  6432.      ; same record that the tcursor is "seeing"
  6433.      form2nd.UiOjectInSecondForm.resync(tc)
  6434.      ; finally
  6435.      form2nd.wait()
  6436.  
  6437. Hope this helps.
  6438.  
  6439.      Rick Fillman, Tech Support (Borland)
  6440.  
  6441. #: 32328 S3/Tables/TableView
  6442.     01-Jun-93  21:16:46
  6443. Sb: #import fixed text
  6444. Fm: roy cotton 73042,605
  6445. To: all
  6446.  
  6447. help. while importing file of fixed length text of the import form (f1,a,1,2)
  6448. (f2,a,3,1) (f3,a,4,1) and (f4,a,1,8) where field 4 overlaps (f1,f2,f3) i lose
  6449. date (the first 3 characters of f4). if i do it a second time,after cleanup,
  6450. of the form (f1,a,1,8) (f2,a,1,8) i lose the 8th byte of f2. if i do it
  6451. (f1,a,1,8) (f2,a,1,9) i get the field twice correctly in the db. Can you load
  6452. ovelapping fields, if so how.....thanks Roy Cotton
  6453.  
  6454. * Reply:  32460
  6455.  
  6456. #: 32460 S3/Tables/TableView
  6457.     02-Jun-93  12:21:59
  6458. Sb: #32328-import fixed text
  6459. Fm: David Orriss Jr(Sysop) 75300,1414
  6460. To: roy cotton 73042,605 (X)
  6461.  
  6462. Roy,
  6463.  
  6464.   Paradox doesn't handle overlaps in data for ascii import.  You might want
  6465. to look into programs like Data Junction or Kallista's Conduit and see if
  6466. they possess that functionality.
  6467.  
  6468. David
  6469.  
  6470. #: 32331 S1/Miscellaneous
  6471.     01-Jun-93  22:08:31
  6472. Sb: #Help works now!
  6473. Fm: Bill Bragg 75450,2170
  6474. To: sysop (X)
  6475.  
  6476. I've finally figured out what attribute of my system causes the PDOXWIN help
  6477. not to work.  Guess what it was ... c'mon guess !  NO, wrong answer. The help
  6478. in my PDOXWIN won't come up if I'm in 256 color mode.  When I go to 16 color
  6479. mode, it works just fine.  However, the regular MS Help viewer works just fine
  6480. in 256 color mode.  It's just that when I'm in 256 color mode, PDOXWIN won't
  6481. call up the help viewer.  There now, you've got a lead to the problem.  Ready
  6482. ... Set ... fix!  Have fun!  --Bill Bragg
  6483.  
  6484. #: 32343 S3/Tables/TableView
  6485.     01-Jun-93  22:56:42
  6486. Sb: #Assigning ID Numbers
  6487. Fm: David GoWell 75236,106
  6488. To: All
  6489.  
  6490. I have a lot of data in tables that I need to convert to PW.
  6491. I want to assign unique ID Numbers to these records to serve as
  6492. Primary Key. Once each record has an ID_Num, I know there are ways to
  6493. increment each new ID_Num. But to get started, can I assign the Record Number
  6494. to the ID_Num field? Any help in the area of ID Numbers, unique Keys,
  6495. incrementing, etc., would be greatly appreciated.
  6496.  
  6497. * Replies:  32406, 32419
  6498.  
  6499. #: 32406 S3/Tables/TableView
  6500.     02-Jun-93  09:06:28
  6501. Sb: #32343-Assigning ID Numbers
  6502. Fm: Dan Ehrmann (TeamB) 70007,4644
  6503. To: David GoWell 75236,106 (X)
  6504.  
  6505. David:
  6506.  
  6507. Import your data into an empty, unkeyed table.  Then restructure the table and
  6508. add an ID field at the beginning, still unkeyed.
  6509.  
  6510. Then create the following script:
  6511.  
  6512.        var
  6513.           TC   TCursor
  6514.        endvar
  6515.  
  6516.        TC.open("YourTable")
  6517.        TC.edit()
  6518.        scan TC:
  6519.           TC."YourIDField" = TC.recNo()    ; check this method name
  6520.                                            ; I don't have a manual handy
  6521.        endscan
  6522.        TC.endEdit()
  6523.        TC.close()
  6524.  
  6525.  
  6526.  
  6527. [Dan -> ]
  6528.  
  6529. #: 32419 S3/Tables/TableView
  6530.     02-Jun-93  09:23:29
  6531. Sb: #32343-#Assigning ID Numbers
  6532. Fm: Bill Todd (Kallista) 75046,1345
  6533. To: David GoWell 75236,106 (X)
  6534.  
  6535. Assigning the record number to the ID field is as good a way to start as any.
  6536.  
  6537. Bill
  6538.  
  6539. * Reply:  32603
  6540.  
  6541. #: 32603 S3/Tables/TableView
  6542.     02-Jun-93  21:47:24
  6543. Sb: #32419-#Assigning ID Numbers
  6544. Fm: David GoWell 75236,106
  6545. To: Bill Todd (Kallista) 75046,1345 (X)
  6546.  
  6547. Thanks for the quick reply but I think I need it spelled out a little more.
  6548. How do I assign the record number to the ID Field?
  6549.  
  6550. (You might check out Message # 32406 from Dan Ehrmann, I haven't tried his
  6551. solution yet, but I will.)
  6552.  
  6553. * Reply:  32692
  6554.  
  6555. #: 32692 S3/Tables/TableView
  6556.     03-Jun-93  09:43:03
  6557. Sb: #32603-Assigning ID Numbers
  6558. Fm: Bill Todd (Kallista) 75046,1345
  6559. To: David GoWell 75236,106
  6560.  
  6561. To assign the record number to a field in the record for all of the records in
  6562. a table do the following.
  6563.  
  6564. var
  6565.    tc   TCursor endVar
  6566.  
  6567. tc.open("myTable") tc.edit() scan tc:
  6568.    tc."Key Number Field" = Number(tc.recNo()) endScan tc.endEdit() tc.close
  6569.  
  6570. This assumes that the field Key Number Field is of type Number.
  6571.  
  6572. Bill
  6573.  
  6574. #: 32346 S1/Miscellaneous
  6575.     01-Jun-93  23:03:42
  6576. Sb: #Crash
  6577. Fm: JAMES HASWELL 75040,100
  6578. To: sysop (X)
  6579.  
  6580. Thanks for the suggestion to download the latest video drivers.  I still can't
  6581. get images to display correctly on my Diamond card, but my ATI Ultra works
  6582. great.
  6583.  
  6584. Now I am having another problem.  The system keeps crashing when I go from
  6585. Form Design to View.  I am trying to display 4 images on the screen at once as
  6586. well as some text.  I have a 486 33Mhz with 8 Mb of RAM.  The system
  6587. completely locks up, CTRL-ALT-DEL doesn't even take me the windows crash
  6588. window but completely reboots the machine.  Any suggestions?
  6589.  
  6590.                                                            Thanks,
  6591.  
  6592. Jim
  6593.  
  6594. * Reply:  32474
  6595.  
  6596. #: 32474 S1/Miscellaneous
  6597.     02-Jun-93  12:54:56
  6598. Sb: #32346-Crash
  6599. Fm: Steve Neverve (Sysop) 71333,114
  6600. To: JAMES HASWELL 75040,100
  6601.  
  6602. James,
  6603.  
  6604. Does this happen on this form only or can you duplicate it on multiple
  6605. forms?  What if you only have 3,2,1 immages?  If you are running any memory
  6606. resident programs, remove them from memory.  Do you have a swap file and is
  6607. it permanant?  If no, create one and make it permanant.  For additional
  6608. information, you can refer to TI1283.ASC in LIB1.
  6609.  
  6610. Steve
  6611.  
  6612. #: 32353 S4/Forms
  6613.     01-Jun-93  23:41:57
  6614. Sb: #Detail Object Updating
  6615. Fm: Mark Olbert 73557,1512
  6616. To: Sysop (X)
  6617.  
  6618. I have a form based on the following data model:
  6619.  
  6620.     A -->B
  6621.     +-->>C-->>D
  6622.  
  6623. The '>>' indicates a 1 to M linkage (which I think is the 'syntax' used in
  6624. PdoxWin).
  6625.  
  6626. When I scroll through the form normally, the master and allof the details
  6627. update normally.  But when I do a Ctrl Z on a field in 'A', the A object
  6628. updates but the B, C and D objects are set to some kind of end of file/new
  6629. record condition (woops, I forgot to mention this occurs in edit mode).  I can
  6630.  display the data in the B, C and D objects by either manually doing a HOME on
  6631. each of them, or by inserting a UIObject.home() function in the action()
  6632. method for the A object (on a DataArriveRecord event).
  6633.  
  6634. Why should I have to do this?  Why don't the detail objects display the first
  6635. record in their restricted sets?
  6636.  
  6637. ????Mark????
  6638.  
  6639. * Reply:  32554
  6640.  
  6641. #: 32554 S4/Forms
  6642.     02-Jun-93  17:49:00
  6643. Sb: #32353-#Detail Object Updating
  6644. Fm: Rick Fillman (Sysop) 76702,273
  6645. To: Mark Olbert 73557,1512 (X)
  6646.  
  6647.  
  6648. For the time being, the reliable way to get the records on the
  6649. detail table to appear (following a successful Ctrl-Z search in
  6650. the Master table) is to start that search from the first record
  6651. of the master table.  You _could_ move the record pointer to the
  6652. first record in the table.
  6653.  
  6654. Here's a piece of ObjectPal code you can you to make that
  6655. automatic.  Attach this to the Action Method of the form:
  6656.  
  6657. ; --- along the way to MenuLocateRecordValue,
  6658. ;     move pointer to top, first
  6659. if eventinfo.id()=dataSearch then
  6660.     ; move pointer to top of file
  6661.         home()
  6662.     endif
  6663.  
  6664. Hope this helps.
  6665.  
  6666.     Rick Fillman, Tech Support (Borland)
  6667.  
  6668. * Reply:  32646
  6669.  
  6670. #: 32646 S4/Forms
  6671.     03-Jun-93  01:15:02
  6672. Sb: #32554-#Detail Object Updating
  6673. Fm: Mark Olbert 73557,1512
  6674. To: Rick Fillman (Sysop) 76702,273 (X)
  6675.  
  6676. Fascinating.  Is this a WAD or a buglet?  In either event, what's odd is that
  6677. the problem doesn't occur in all forms..
  6678.  
  6679. BTW:  does dataSearch get sent to the action() method when you start the
  6680. search from the menu, or just when you do a Ctrl-Z?
  6681.  
  6682. - Mark
  6683.  
  6684. * Reply:  32774
  6685.  
  6686. #: 32774 S4/Forms
  6687.     03-Jun-93  13:18:17
  6688. Sb: #32646-Detail Object Updating
  6689. Fm: Rick Fillman (Sysop) 76702,273
  6690. To: Mark Olbert 73557,1512
  6691.  
  6692.  > does dataSearch get sent to the action() method when you
  6693.  > start the search from the menu, or just when you do a Ctrl-Z?
  6694.  
  6695. Either.  That's why I used dataSearch (rather than checking for
  6696. the MenuRecordLocateValue) constant.  The phenonmenon should
  6697. appear in any form, BTW.
  6698.  
  6699.      Rick Fillman, Tech Support (Borland)
  6700.  
  6701. #: 32355 S1/Miscellaneous
  6702.     01-Jun-93  23:46:02
  6703. Sb: calculating fields
  6704. Fm: larry eckenrod 73140,3237
  6705. To: all
  6706.  
  6707.         I have created a field in a table that I want to use math on fields in
  6708. the same table and some fields in another table. I put this field on a form
  6709. and try to put the equation in but it has to be a special field. This field is
  6710. physically part of a table not just an object created on a form. There are key
  6711. fields in each that will link the two together.
  6712. Any help would be appreciated.
  6713.  
  6714.         larry eckenrod
  6715.  
  6716. #: 32361 S4/Forms
  6717.     02-Jun-93  00:36:29
  6718. Sb: #Losing kb in rpt/fm edit
  6719. Fm: Tres Seaver 76440,3320
  6720. To: All
  6721.  
  6722. Has anyone else out there lost the keyboard interrupt handler altogether under
  6723. P4W?  Several times, esp. while iteratively editing forms & reports, I have
  6724. had the keyboard go _DEAD_;  I can shut P4W and Windows down using the mouse,
  6725. but have to reset the machine to get the keyboard back.
  6726.  
  6727. This has happened on both my machine at the office and at home -- any
  6728. suggestions?
  6729.  
  6730. Thanks,
  6731.  
  6732. Tres Seaver, Houston, Texas.
  6733.  
  6734. * Replies:  32421, 32555
  6735.  
  6736. #: 32421 S4/Forms
  6737.     02-Jun-93  09:23:39
  6738. Sb: #32361-Losing kb in rpt/fm edit
  6739. Fm: Bill Todd (Kallista) 75046,1345
  6740. To: Tres Seaver 76440,3320 (X)
  6741.  
  6742. Interesting.  I have had the same thing happen a couple of times but it has
  6743. been so rare that I wrote it off to gremlins<g>.
  6744.  
  6745. Bill
  6746.  
  6747. #: 32555 S4/Forms
  6748.     02-Jun-93  17:49:04
  6749. Sb: #32361-Losing kb in rpt/fm edit
  6750. Fm: Rick Fillman (Sysop) 76702,273
  6751. To: Tres Seaver 76440,3320 (X)
  6752.  
  6753.  > I have had the keyboard go _DEAD_;
  6754.  
  6755. I haven't heard this of anyone reporting this type of condition.
  6756. Can you provide more detail?  Is there any pattern to what (your
  6757. havt to do that) triggers this?
  6758. Have you set your Speedbar to be "Floating" by any chance?
  6759.  
  6760.     Rick Fillman, Tech Support (Borland)
  6761.  
  6762. #: 32365 S4/Forms
  6763.     02-Jun-93  01:05:04
  6764. Sb: #graph
  6765. Fm: jeff wright 76104,224
  6766. To: all
  6767.  
  6768. Is there any way to suppress markers in line graphs?  I want a plain line
  6769. thout markers.
  6770.  
  6771. * Reply:  32526
  6772.  
  6773. #: 32526 S4/Forms
  6774.     02-Jun-93  15:24:43
  6775. Sb: #32365-graph
  6776. Fm: Kenneth Sole 72113,3517
  6777. To: jeff wright 76104,224
  6778.  
  6779. Hi Jeff, In a word: "Nope."  They cannot be eliminated.  We ended up choosing
  6780. the marker that looks like a "+" as it seems to be the least obtrusive.
  6781. Kenneth
  6782.  
  6783. #: 32416 S2/Install/CFG/HrdWare
  6784.     02-Jun-93  09:23:05
  6785. Sb: #memory resource problem
  6786. Fm: Gary Spinelli 75600,1201
  6787. To: sysop (X)
  6788.  
  6789. I have a 486/33 with 8MB of RAM.  It seems I can't run any other Windows
  6790. application while Paradox for Windows is running. I always get a "not
  6791. enough memory to run application" error message.  Can it be that Paradox
  6792. is that much of a memory pig that I have to completely exit Paradox in
  6793. order to run any other application?
  6794.  
  6795. * Replies:  32444, 32461
  6796.  
  6797. #: 32444 S2/Install/CFG/HrdWare
  6798.     02-Jun-93  11:42:11
  6799. Sb: #32416-memory resource problem
  6800. Fm: Greg Salcedo 73707,572
  6801. To: Gary Spinelli 75600,1201
  6802.  
  6803. No, Gary!  It's something in your setup.  Many of us are running 3-6 other
  6804. applications at the same time.  Show us your AUTOEXEC.BAT and CONFIG.SYS.
  6805.  
  6806. Greg
  6807.  
  6808. #: 32461 S2/Install/CFG/HrdWare
  6809.     02-Jun-93  12:22:33
  6810. Sb: #32416-memory resource problem
  6811. Fm: Brian Bushay (TeamB) 76711,516
  6812. To: Gary Spinelli 75600,1201
  6813.  
  6814. Gary
  6815.  
  6816. >I have a 486/33 with 8MB of RAM.  It seems I can't run any other Windows
  6817. >application while Paradox for Windows is running. I always get a "not
  6818. >enough memory to run application" error message.  Can it be that Paradox
  6819.  
  6820. There are a lot of people running Pdoxwin on 8 meg configurations so you
  6821. should be able to do so as well.
  6822. Look at this Problems list and see if anything applies to your configuration
  6823.  
  6824.  
  6825. Do you have a printer selected as default?
  6826.  
  6827. Have you tried using standard VGA mode if you are running an enhanced
  6828.      viedo driver?  This is something greater than (640x480) resolution
  6829.      with more then 16 colors.
  6830.  
  6831. Do you have at least 4 megs extended of memory free after starting the
  6832.      system and before starting Microsoft Windows?
  6833.  
  6834. Do you have smartdrive set up?
  6835.  
  6836. If you have smartdrive set up, and have only 4 megs of ram total, is
  6837.      it set for less then 512K?
  6838.  
  6839. Do you have SHARE loaded with the parameters of at least
  6840.      'share /l:400 /F:4096'?
  6841.  
  6842. If you have SHARE loaded, do you have it loaded LOW or HIGH?
  6843.  
  6844. If you have a network, did you load SHARE before the drivers or after
  6845.      then network drivers?
  6846.  
  6847. Are you using Norton desktop for Windows?
  6848.  
  6849. Have you tried unloading other device drivers at least temporarily
  6850.      before loading windows?
  6851.  
  6852. Are you running a screen saver like afterdark?  There are DLL's
  6853.      associated with afterdark that they have an update for.
  6854.  
  6855. Do you have a permanent swap file and is it set up to be in a non-compressed
  6856.      partition?
  6857.  
  6858. Are you running a PIM or something with alarms?
  6859.  
  6860. If you have more then 8 megs of RAM, have you tried running in
  6861.      standard mode?
  6862.  
  6863. Are you running a 3270 emulator or IRMA emulation?
  6864.  
  6865. Are you using WinFAX PRO? Do you have autoanswer turned on?
  6866.  
  6867. Are you using Wired 4 Sound?
  6868.  
  6869. All these things can affect performance and stability of your system
  6870.      and these are only some of the more standard things that can be a
  6871.      problem.
  6872.  
  6873. Does your shell command have enough environment space or have a /e:2048 as the
  6874. parameter?
  6875.  
  6876. Are you using a 3rd party video driver or enhanced video card?
  6877.  
  6878. Are you using Crystal fonts?
  6879.  
  6880. What version of DOS are you using?
  6881.  
  6882. Some or all of these things listed above can be the problem.  You should try
  6883. any of the suggested things above or eliminating these things if you can and
  6884. see if the problem is reproducable after.
  6885.  
  6886.  
  6887.  
  6888. Brian
  6889.  
  6890. #: 32443 S3/Tables/TableView
  6891.     02-Jun-93  11:41:08
  6892. Sb: #Sorting
  6893. Fm: Ron Smeathers 70043,3500
  6894. To: sysop (X)
  6895.  
  6896. We have had very little luck sorting a table from a method. In fact we have
  6897. tried countless different things (3 programmers) and have been unable to do
  6898. it. Any help? Thanks Pat
  6899.  
  6900. * Reply:  32449
  6901.  
  6902. #: 32449 S3/Tables/TableView
  6903.     02-Jun-93  11:46:37
  6904. Sb: #32443-Sorting
  6905. Fm: Greg Salcedo 73707,572
  6906. To: Ron Smeathers 70043,3500
  6907.  
  6908. Not the sysop, Ron, but...
  6909.  
  6910. - Could you show us a bit of the code you've tried so far? - Are you using
  6911. tCursors? Do you reSync the tCursor? - Are you 'showing' the data in a form or
  6912. tableView? - Do you have different indexes for each type of sort?
  6913.  
  6914. Let us know...
  6915.  
  6916. greg
  6917.  
  6918. #: 32453 S4/Forms
  6919.     02-Jun-93  12:02:03
  6920. Sb: Date conversions
  6921. Fm: Smits Paul 100270,655
  6922. To: All
  6923.  
  6924. Dear All, Hello "Dateconversion" specialists,
  6925.  
  6926. I have "date conversion" problems. Can you please help?
  6927.  
  6928. I have a table, and (part of) the key is of type date.  I have made a method
  6929. (listing follows) that displays only part of it (with specific date).
  6930.  
  6931. In windows I specified the format D/M/Y. I also did this in the ODAPI
  6932. (SYSTEM|FORMATS|DATE|...). I've tried to change this last one. I couldn't
  6933. observe any effect. What is the use?
  6934.  
  6935. My table displays (correctly) D/M/Y. The sort order proofs it. Now what is
  6936. wrong? 1) The msgInfo Procedure displays M/D/Y (wrong). 2) The Filter doesn't
  6937. work (it selects all rows of the table). 3) The Order/Range of the form is
  6938. filled in: 011893 (very wrong).
  6939.  
  6940. Funny effect: if I change date into 01/02/93 in the method. I get all rows
  6941. correctly  (for 1 feb 93).  But I can't do this for 18 jan 93: The method
  6942. won't execute.
  6943.  
  6944.  
  6945. Kind Regards, SMITS Paul ============= Start listing method ===============
  6946. method depart(var eventInfo MoveEvent)
  6947.   var
  6948.     tblObj UIObject
  6949.     dag Date
  6950.   endVar
  6951.  
  6952.   dag=Date("01/18/93")
  6953.   if tblObj.attach ("PJTIJD") then
  6954.     message ("Aantal dagen:", Number (Date("01/20/93")-dag)) ; Displays 2.00
  6955.     tblObj.setFilter ("AG", dag, dag)
  6956.     msgInfo ("Total recrods for dag "+ String (dag), tblObj.nRecords ())
  6957.   else
  6958.     msgStop ("Sorry","Can't attach to table.")
  6959.   endIf endmethod =============== End listing method ===============)
  6960.  
  6961. #: 32454 S1/Miscellaneous
  6962.     02-Jun-93  12:02:57
  6963. Sb: #Object Inheritance
  6964. Fm: marc manley 73150,1166
  6965. To: all
  6966.  
  6967. Is object inheritance supported in P4W?  I've searched the manuals but find
  6968. nothing on this.  Specifically, I would like to define a base form for editing
  6969. tables.  It could contain, for example, several control buttons (exit, add
  6970. new, edit, delete, etc.) plus a custom speedbar for displaying table records
  6971. (next, previous, etc.).  Once this object has been defined, I could then use
  6972. it as the base form for a variety of different tables.  And then, if a change
  6973. was necessary to one of the common objects (for example, adding a control
  6974. button), then the change could be made to just the parent form.
  6975.  
  6976. Is this possible with P4W?  I sure hope so.
  6977.  
  6978. * Reply:  32608
  6979.  
  6980. #: 32608 S1/Miscellaneous
  6981.     02-Jun-93  21:58:10
  6982. Sb: #32454-#Object Inheritance
  6983. Fm: Michael Lant 71643,540
  6984. To: marc manley 73150,1166 (X)
  6985.  
  6986. There is no object inheritance in P4W but there are a lot of other ways of
  6987. accomplishing what you are trying to do with other techniques. For instance
  6988. you can create a simple base form and clone copies of it and then go into the
  6989. data model of each form and change the msater table. The cathc here is that in
  6990. order to minimize your work, you should have the same field names in the two
  6991. tables. If you can't have the same names you can still reassign them.
  6992.  
  6993. I am working on a generic driver that places all important code either at the
  6994. form level, or in libraries. By trapping for every event at the form level and
  6995. calling procs from a library, I can make a change to one proc and have that
  6996. change become global to every object of the same class throughout the system.
  6997. I know its not quite OOP but its the next best thing.
  6998.  
  6999. Michael Lant
  7000.  
  7001. * Reply:  32730
  7002.  
  7003. #: 32730 S1/Miscellaneous
  7004.     03-Jun-93  12:07:02
  7005. Sb: #32608-Object Inheritance
  7006. Fm: marc manley 73150,1166
  7007. To: Michael Lant 71643,540 (X)
  7008.  
  7009. Thanks for your thoughts.  It's unfortunate that Borland hasn't implemented a
  7010. more robust object-oriented environment in P4W - it's a great tool otherwise
  7011. (except for processing speed).  It seems for now we'll have to use the same
  7012. type of technics I've always used in Clipper and FoxPro and everything else.
  7013. You seem to be on the right track - by trapping events at the form we can make
  7014. "pseudo-objects".  Let me know how it progresses.
  7015.  
  7016. Regards,
  7017. Marc
  7018.  
  7019. #: 32463 S1/Miscellaneous
  7020.     02-Jun-93  12:31:51
  7021. Sb: #Understanding Links
  7022. Fm: Michelle M. Vina 72754,1317
  7023. To: Paradox user
  7024.  
  7025. Help!
  7026.  
  7027. I'm reading page 336 of the PDOX for Windows User's Guide and getting a little
  7028. confused.
  7029.  
  7030. It states that "tables you want to link must have a common field. The field
  7031. name doesn't have to be the same in both tables, but the field type and size
  7032. must match".  Does this mean that both tables have to be KEY fields?
  7033.  
  7034. I read on a little further to page 337 where it talks about "Multi-valued
  7035. relationships". This lead me to believe that I could link two tables based on
  7036. their field type and size only.
  7037.  
  7038. I'm trying to link a hardware table, which contains a detailed listing of all
  7039. hardware assiged for each user, to a service table that contains information
  7040. regarding all service calls we have placed for a particular piece of hardware.
  7041. Neither table currently has a key field. I had originally wanted to add all
  7042. service information to the hardware table but this would present a problem if
  7043. a users CPU or monitor was serviced more than once. I then could potentially
  7044. have more than one record in my hardware table containing the same hardware
  7045. info. but with a different service date. This is not what I want.
  7046.  
  7047. I wanted to be able to link the hardware to the service table by user last
  7048. name even though a key field is absent.  Is this possible?
  7049.  
  7050. * Reply:  32571
  7051.  
  7052. #: 32571 S1/Miscellaneous
  7053.     02-Jun-93  19:14:49
  7054. Sb: #32463-Understanding Links
  7055. Fm: Brian Reed (Sysop) 71333,2360
  7056. To: Michelle M. Vina 72754,1317 (X)
  7057.  
  7058. Michelle,
  7059.  
  7060. What it sounds like you need is a one to many relationship.  In this
  7061. relationship both tables are keyed but you are not linking on both keyed
  7062. fields.  In your example you would have the parent table be your hardware
  7063. table with the user name as your keyed field.  (You may want to consider
  7064. assigning a unique number to each user in case you end up with 2 John Smith's
  7065. etc...)
  7066.  
  7067. Then you would have a keyed field in your child table such as a service order
  7068. number field. You would also add a non-keyed field containing the same
  7069. information in the keyed field from the parent table. (Name field or user #
  7070. field). This is where you define your link.
  7071.  
  7072. Brian Reed (sysop)
  7073.  
  7074. #: 32464 S1/Miscellaneous
  7075.     02-Jun-93  12:36:10
  7076. Sb: #Client/server questns
  7077. Fm: T. Pat Kelly 6121,47
  7078. To: all
  7079.  
  7080. Hi all!
  7081.  
  7082. We are, if the $'s come thru, going to buy the following:
  7083.  
  7084.  DEC Alpha 150Mgz Pc
  7085.  unix or Windows NT (ugg)
  7086.  either ORACLE or SYBASE as a client - server dbms
  7087.  SQL
  7088.  3 gig+ of disk drives
  7089.  
  7090. all of the forgoing will be connected to our Novell 3.11 lan on which we now
  7091. run PARADOX 3.5, but will be upgrading to either PARADOX 4.02+ or PARADOXwin.
  7092.  
  7093. Can PDOX 4+ and/or PDOXWIN talk to the above software via SQL?
  7094.  
  7095. Any suggestions (if it can) as to which environment (unix vs Win NT) would be
  7096. preferable?
  7097.  
  7098. any suggestions on ORACLE vs. Sybase?
  7099.  
  7100. Any suggestions on an SQL?
  7101.  
  7102. All comments MOST welcome.
  7103.  
  7104. Thanks
  7105.  
  7106. Pat
  7107.  
  7108. * Replies:  32680, 32702
  7109.  
  7110. #: 32680 S1/Miscellaneous
  7111.     03-Jun-93  09:11:27
  7112. Sb: #32464-Client/server questns
  7113. Fm: Dan Ehrmann (TeamB) 70007,4644
  7114. To: T. Pat Kelly 6121,47
  7115.  
  7116. Pat:
  7117.  
  7118. Paradox for DOS should talk to both Oracle and Sybase using the SQL Link
  7119. addin.
  7120.  
  7121. Paradox for Windows does not yet talk to client-server data, but Borland has
  7122. said publicly that they are working on this technology, and that they expect
  7123. to have it available within 3-4 months.
  7124.  
  7125.  
  7126. [Dan -> ]
  7127.  
  7128. #: 32702 S1/Miscellaneous
  7129.     03-Jun-93  10:35:14
  7130. Sb: #32464-Client/server questns
  7131. Fm: Weylan Wang -(Sysop)- 76702,1067
  7132. To: T. Pat Kelly 6121,47
  7133.  
  7134. You should be able to connect to a Sybase or Oracle server.  At this point,
  7135. you can only do it in Paradox 4 directly.  If you want to do it in windows you
  7136. are going to have to wait or use Q & E.
  7137.  
  7138. OPAL: Paradox for Windows is able to call any Windows DLL that has been
  7139. created with the correct set of parametes.  Pioneer Software, Inc. has just
  7140. such a Windows DLL that connects to a number of SQL server systems.  This is
  7141. called Q+E Database Library.  It connects to...
  7142.  
  7143. Ascii text files
  7144. Btrieve
  7145. dBase
  7146. Excel
  7147. IBM DB2
  7148. IBM AS400
  7149. IBM OS/2 Database Manager
  7150. IBM SQL/DS
  7151. Informix
  7152. Ingres
  7153. Novell Netware SQL
  7154. Oracle
  7155. Paradox
  7156. Progress
  7157. SQLBase
  7158. Sybase/Microsoft SQL Server
  7159. Tandem NonStop SQL
  7160. XDB
  7161.  
  7162. Pioneer Software, Inc.
  7163. 5540 Centerview Dr.
  7164. Raleigh, NC 27606
  7165. Sales (919) 859-2200
  7166. Tech. Support ((919) 851-1152
  7167. Compuserve: Go Pioneer
  7168.  
  7169. #: 32485 S1/Miscellaneous
  7170.     02-Jun-93  13:41:56
  7171. Sb: #Source code listings
  7172. Fm: BRAD BOKOSKI 71732,2330
  7173. To: ALL
  7174.  
  7175. I notice that in source code listings from PW, multiple tabs (ie TAB TAB TAB
  7176. TAB text...) are not always aligned in the output.  Is it a known defect or is
  7177. there something in my configuration, or are certain controls not picked up
  7178. with certain fonts?
  7179.  
  7180. * Reply:  32634
  7181.  
  7182. #: 32634 S1/Miscellaneous
  7183.     02-Jun-93  23:54:45
  7184. Sb: #32485-Source code listings
  7185. Fm: Les Gainous 72731,146
  7186. To: BRAD BOKOSKI 71732,2330
  7187.  
  7188. re:  I notice that in source code listings from PW, multiple tabs (ie TAB TAB
  7189. TAB TAB text...) are not always aligned in the output.
  7190.  
  7191. Brad,
  7192.  
  7193. There is a program here in this forum called ENUM.EXE.  It's in library #11.
  7194. It will print all your source code, leaving the tabs intact and in line.  It
  7195. will also print all methods from ALL forms/libraries, all in one go. Download
  7196. it and let me know what you think.
  7197.  
  7198. goodLuck()  Les  72731,146
  7199.  
  7200. #: 32492 S1/Miscellaneous
  7201.     02-Jun-93  14:22:34
  7202. Sb: #DOS app in button??
  7203. Fm: len burman 76520,3723
  7204. To: sysop (X)
  7205.  
  7206. In a form, I have a button, which when pressed, I would like to execute WP for
  7207. windows with a parameter which is a field in my form. I used the execute
  7208. command like   execute("wpwin.exe name") where name = filename.Value which is
  7209. a field in my form. It runs wpwin and looks for a file called   name. I want
  7210. the value which is in  name. I tried using \ and \\. I also tried defining a
  7211. field in my table as OLE, but since WP for windows is a client, I can't embed
  7212. it in my table field. How do I do this? When I press a button, I want to go
  7213. into WP for windows, with the filename which is in my form.
  7214.  
  7215. * Reply:  32606
  7216.  
  7217. #: 32606 S1/Miscellaneous
  7218.     02-Jun-93  21:48:22
  7219. Sb: #32492-#DOS app in button??
  7220. Fm: Micah Bleecher(DataStar) 76570,234
  7221. To: len burman 76520,3723 (X)
  7222.  
  7223. >command like   execute("wpwin.exe name") where name = filename.Value which is
  7224. >a field in my form. It runs wpwin and looks for a file called   name. I want
  7225. >the value which is in  name. I tried using \ and \\. I also tried defining a
  7226.  
  7227.  Try execute("WPWIN.EXE " + name)
  7228.  
  7229.  (assumes name is a string variable and is assigned)
  7230.  
  7231.  
  7232. Micah
  7233.  
  7234. #: 32499 S1/Miscellaneous
  7235.     02-Jun-93  14:43:56
  7236. Sb: Possible Paradox Bug
  7237. Fm: Paul Reeves 100141,2330
  7238. To: HANK HAMNER 71046,34
  7239.  
  7240. I tried setting up the table and form as you exactly as you suggested and had
  7241. no problems. What am I doing right? <g>
  7242.  
  7243. BTW My experience of PFW so far is that the problems are fairly evenly mixed
  7244. between hardware config, windows config, PFW config and my own
  7245. misunderstanding of ObjectPal programming. Taken together it appears that PFW
  7246. is pretty unstable. However, with perseverance things get better!
  7247.  
  7248. Good Luck
  7249.  
  7250.  
  7251.  
  7252.  
  7253. Paul Reeves
  7254.  
  7255. #: 33711 S1/Miscellaneous
  7256.     07-Jun-93  22:08:44
  7257. Sb: #33369-#Possible Paradox Bug
  7258. Fm: Clifford J. Glennon 73170,1456
  7259. To: Mike Irwin/Co-Assist 100114,1437 (X)
  7260.  
  7261.         Woah! Windows NT is not for us. It's for Business types with $450+
  7262. dollars to spend.  I'll wait for a version less than $100 thank you.  In the
  7263. meantime, I'll keep working around the PFW crashes until a real version comes
  7264. out.
  7265.  
  7266. * Reply:  33725
  7267.  
  7268. #: 33725 S1/Miscellaneous
  7269.     07-Jun-93  23:13:43
  7270. Sb: #33711-#Possible Paradox Bug
  7271. Fm: Les Gainous 72731,146
  7272. To: Clifford J. Glennon 73170,1456
  7273.  
  7274. RE:  Woah! Windows NT is not for us. It's for Business types with $450+
  7275. dollars to spend.  I'll wait for a version less than $100 thank you
  7276.  
  7277. Clifford,
  7278.  
  7279.  ...or you can wait for Microsoft's "Chicago", due out probably next year.
  7280. It's a 32-bit DOS with 'built-in' MS_Windows (among other features)!
  7281.  
  7282. goodLuck()  Les  72731,146
  7283.  
  7284. * Reply:  33726
  7285.  
  7286. #: 33726 S1/Miscellaneous
  7287.     07-Jun-93  23:20:40
  7288. Sb: #33725-#Possible Paradox Bug
  7289. Fm: John Mitchell 71603,221
  7290. To: Les Gainous 72731,146 (X)
  7291.  
  7292. Or you could try OS/2 2.1, which'll be available next week and supports WIN
  7293. 3.1 and any flavor of DOS you like, including DR DOS 6.0, MS DOS 6.0, and all
  7294. other flavors that I've heard of... ;)
  7295.  
  7296. #: 32532 S1/Miscellaneous
  7297.     02-Jun-93  15:46:40
  7298. Sb: #Deliverance
  7299. Fm: Dinyar Wadia 71042,3411
  7300. To: Sysop (X)
  7301.  
  7302. I can not seem to deliver any forms. I used to be able to, but now a can't.
  7303. Should I reinstall ? Any other suggestions ? Thanks again.
  7304.  
  7305. * Reply:  32704
  7306.  
  7307. #: 32704 S1/Miscellaneous
  7308.     03-Jun-93  10:35:19
  7309. Sb: #32532-#Deliverance
  7310. Fm: Weylan Wang -(Sysop)- 76702,1067
  7311. To: Dinyar Wadia 71042,3411 (X)
  7312.  
  7313. What happens when you try to deliver them?  You might have to reinstall, but
  7314. what happens?
  7315.         -(Weylan Wang)-
  7316.         -(Borland Paradox Technical Support)-
  7317.  
  7318. * Reply:  32715
  7319.  
  7320. #: 32715 S1/Miscellaneous
  7321.     03-Jun-93  10:58:43
  7322. Sb: #32704-Deliverance
  7323. Fm: Rick Carroll 72133,1335
  7324. To: Weylan Wang -(Sysop)- 76702,1067
  7325.  
  7326. I am also having problems delivering some of my forms.  When I go to deliver
  7327. the form, Paradox switches the form that I am looking at in design mode and
  7328. starts to run it.  I can see the "Compiling.." message in the bottom left
  7329. corner just before it runs the form.  On some of my forms, they have delivered
  7330. without any problem.  Any suggestions?
  7331.  
  7332. #: 32574 S1/Miscellaneous
  7333.     02-Jun-93  19:27:21
  7334. Sb: #Font Problems
  7335. Fm: Al Yanchak 71155,3065
  7336. To: All
  7337.  
  7338. I have a client who uses both PFW and Page Maker. Since installing Page Maker,
  7339. the PFW status bar has shrunk to a thin line and the text on the start up
  7340. screen is all messed up. I've heard that certain fonts loaded by Page Maker
  7341. can produce these problems with PFW. Any info would be appreciated.
  7342.  
  7343. Thanks in advance,
  7344.  
  7345. Al
  7346.  
  7347. * Replies:  32846, 32861
  7348.  
  7349. #: 32846 S1/Miscellaneous
  7350.     03-Jun-93  15:49:34
  7351. Sb: #32574-Font Problems
  7352. Fm: Brian Reed (Sysop) 71333,2360
  7353. To: Al Yanchak 71155,3065
  7354.  
  7355. Al,
  7356.  
  7357. Yes, there are certain fonts from Pagemaker that will cause this.
  7358. Unfortunately, we haven't got them recorded here.  The lines to look at in the
  7359. Win.ini file are the [font substitutes] Helv = line and the Aldus section.
  7360. The Helv line should say Helv =  Ms Sans Serif. For the Aldus try commenting
  7361. out the fonts to see if the problem goes away.  If I find the name or names of
  7362. the actual fonts that are giving us grief I will post another message.
  7363.  
  7364. Hope this helps.
  7365.  
  7366. Brian Reed (sysop)
  7367.  
  7368. #: 32861 S1/Miscellaneous
  7369.     03-Jun-93  16:55:38
  7370. Sb: #32574-Font Problems
  7371. Fm: Brian Reed (Sysop) 71333,2360
  7372. To: Al Yanchak 71155,3065
  7373.  
  7374. Al,
  7375.  
  7376. As an addendum to my previous message I did manage to find the information on
  7377. which fonts cause us grief.
  7378.  
  7379. Comment out the lines in the font sections of the Win.ini that read: PageMaker
  7380. Fonts (2:1)=ALDFONTA.FON PageMaker Fonts (4:3)=ALDFONTB.FON PageMaker Fonts
  7381. (1:1)=TEDFONTF.FON
  7382.  
  7383. Brian Reed (sysop)
  7384.  
  7385. #: 32579 S4/Forms
  7386.     02-Jun-93  19:54:09
  7387. Sb: #Tab order in forms
  7388. Fm: F C DASTOOR 76440,2017
  7389. To: sysop (X)
  7390.  
  7391. Is it possible to set the tab order of the different fields in a form so that
  7392. the cursor moves from selected field to selected field?  Or is the movement of
  7393. the cursor from field to field dependant on the position of the field?
  7394.  
  7395. * Reply:  32616
  7396.  
  7397. #: 32616 S4/Forms
  7398.     02-Jun-93  22:18:36
  7399. Sb: #32579-#Tab order in forms
  7400. Fm: Bill Todd (Kallista) 75046,1345
  7401. To: F C DASTOOR 76440,2017 (X)
  7402.  
  7403. By grouping your fields you can get any tab order you want.  See  Grouping
  7404. Objects on page 404 of the Users Guide.
  7405.  
  7406. Bill
  7407.  
  7408. * Reply:  32670
  7409.  
  7410. #: 32670 S4/Forms
  7411.     03-Jun-93  06:25:54
  7412. Sb: #32616-#Tab order in forms
  7413. Fm: F C DASTOOR 76440,2017
  7414. To: Bill Todd (Kallista) 75046,1345 (X)
  7415.  
  7416. Thank you. I will try it out. I thought grouping was used just for designing
  7417. purposes.
  7418. But what about the tab order within the group itself.
  7419.  
  7420. * Reply:  32693
  7421.  
  7422. #: 32693 S4/Forms
  7423.     03-Jun-93  09:43:08
  7424. Sb: #32670-Tab order in forms
  7425. Fm: Bill Todd (Kallista) 75046,1345
  7426. To: F C DASTOOR 76440,2017
  7427.  
  7428. You can have groups within groups.  The tab order within a group that does not
  7429. contain groups is upper left to lower right.
  7430.  
  7431. Remember that the members of a group do not have to be adjacent to each other.
  7432. You can skip around in any order.
  7433.  
  7434. Bill
  7435.  
  7436. #: 32592 S2/Install/CFG/HrdWare
  7437.     02-Jun-93  20:46:58
  7438. Sb: #ERROR MESSAGE
  7439. Fm: J.H. SANNING 70471,355
  7440. To: SYSOP (X)
  7441.  
  7442. I KEEP GETTING A MESSAGE "GENERAL FAULT AT PDXVIEW.DLL 0010:1182"
  7443. AT WHICH TIME MY SYSTEM CRASHES. WHAT GIVES ?
  7444.  
  7445. * Replies:  32675, 32834
  7446.  
  7447. #: 32675 S2/Install/CFG/HrdWare
  7448.     03-Jun-93  08:20:02
  7449. Sb: #32592-#ERROR MESSAGE
  7450. Fm: Chris Taylor 75730,2420
  7451. To: J.H. SANNING 70471,355
  7452.  
  7453. Hello to the Paradox/Windows gods!  Yes, I have an associate who has been
  7454. wrestling for about a week with this same problem.  If a solution can be found
  7455. he will be able to save his name as well as a bit of cash.
  7456.  
  7457. Hopeful, Chris Taylor
  7458.  
  7459. * Reply:  32835
  7460.  
  7461. #: 32835 S2/Install/CFG/HrdWare
  7462.     03-Jun-93  15:28:51
  7463. Sb: #32675-ERROR MESSAGE
  7464. Fm: Robert Ramirez (Sysop) 76702,255
  7465. To: Chris Taylor 75730,2420 (X)
  7466.  
  7467. Hello Chris,
  7468.  
  7469. Like your Navigator Face...
  7470.  
  7471. If you could also describe the steps to reproduce the problem and also
  7472. describe your Windows Setup (Video driver, Memory, Windows Shell, etc.) and a
  7473. listing of your Autoexec.bat and Config.sys, "WE" might be able to offer some
  7474. suggestion/resolutions to the problem. Thanks.
  7475.  
  7476. ~Robert
  7477. Borland Tech. Support
  7478.  
  7479. #: 32834 S2/Install/CFG/HrdWare
  7480.     03-Jun-93  15:28:46
  7481. Sb: #32592-ERROR MESSAGE
  7482. Fm: Robert Ramirez (Sysop) 76702,255
  7483. To: J.H. SANNING 70471,355
  7484.  
  7485. Hello J.H.
  7486.  
  7487. Please give the steps/observations to reproduce this problem.  Also, describe
  7488. your Windows Setup (Video driver, Memory, Windows Shell, etc.) and a listing
  7489. of your Autoexec.bat and Config.sys.  Thanks...
  7490.  
  7491. ~Robert
  7492. Borland Tech. Support
  7493.  
  7494. #: 32597 S4/Forms
  7495.     02-Jun-93  21:29:00
  7496. Sb: #Cap's Lock
  7497. Fm: David Hayes 74740,2547
  7498. To: All
  7499.  
  7500. Is it possible to make a field always come up in cap's even if the user
  7501. doesn't hit caps lock?
  7502.  
  7503. * Reply:  32694
  7504.  
  7505. #: 32694 S4/Forms
  7506.     03-Jun-93  09:43:13
  7507. Sb: #32597-Cap's Lock
  7508. Fm: Bill Todd (Kallista) 75046,1345
  7509. To: David Hayes 74740,2547
  7510.  
  7511. In the File | Utilities | Restructure dialog box assign a picture of *! to the
  7512. field.  Pictures are described in detail in the Users Guide.
  7513.  
  7514. Hope this helps.
  7515.  
  7516. Bill
  7517.  
  7518. #: 32607 S4/Forms
  7519.     02-Jun-93  21:57:36
  7520. Sb: #Forms&Screen Resolution
  7521. Fm: Deven Hickingbotham 72365,46
  7522. To: all
  7523.  
  7524. What's the best way to insure that a form designed on an 800x600 VGA screen
  7525. will run on other display cards and resolutions?  Do you have to design for
  7526. the lowest common denominator or is there a way to dynamically adjust the
  7527. coordinates of a form designed in 800x600 to run on smaller/larger screens??
  7528.  
  7529. Deven
  7530.  
  7531. * Replies:  32770, 32847
  7532.  
  7533. #: 32770 S4/Forms
  7534.     03-Jun-93  13:17:58
  7535. Sb: #32607-Forms&Screen Resolution
  7536. Fm: Rick Fillman (Sysop) 76702,273
  7537. To: Deven Hickingbotham 72365,46
  7538.  
  7539.  > Do you have to design for the lowest common denominator ...
  7540.  
  7541. Either that, or create multiple designs, each specifically designed for one
  7542. screen size of the other.
  7543.  
  7544.  > or is there a way to dynamically adjust the coordinates of a form
  7545.  > designed in 800x600 to run on smaller/larger screens??
  7546. Unfortunately, no.
  7547.  
  7548. Maybe others will respond as to how they have dealt with this
  7549. situation.
  7550.  
  7551.      Rick Fillman, Tech Support (Borland)
  7552.  
  7553. #: 32847 S4/Forms
  7554.     03-Jun-93  16:01:04
  7555. Sb: #32607-Forms&Screen Resolution
  7556. Fm: Richard Wagner (TeamB) 71333,2031
  7557. To: Deven Hickingbotham 72365,46
  7558.  
  7559. Deven,
  7560.  
  7561. If you form is going to be run on a 640x480 screen, you should design for that
  7562. resolution (the least common denominator). You can then be assured that it
  7563. will be alright for all resolutions.
  7564.  
  7565. An alternative is to use the Zoom | Best Fit option, but I do not like the
  7566. result of that at times.
  7567.  
  7568.                                                Richard Wagner
  7569.  
  7570. #: 32619 S4/Forms
  7571.     02-Jun-93  22:31:28
  7572. Sb: #Table Frame
  7573. Fm: Gail Cox 72745,442
  7574. To: SYSOP (X)
  7575.  
  7576. I have a form which containing a multi table data model.  This form has a
  7577. table frame which will be used for data entry.  When the user advances to an
  7578. empty record, I would like to initialize it with the line item number which
  7579. along with the field which forms the link to the master table will be the key
  7580. to the second table.  In the event that the user advances to the next entry
  7581. and does not complete the rest of the fields, I would like to either not
  7582. include the record or delete it if it has already been posted.  I've been
  7583. trying to use the built in action method, but I've run into problems,
  7584. sometimes getting completely locked up.  Is there a good example of what I am
  7585. trying to do?
  7586.  
  7587. Any help will be appreciated.
  7588.  
  7589. Gail
  7590.  
  7591. * Reply:  32873
  7592.  
  7593. #: 32873 S4/Forms
  7594.     03-Jun-93  17:53:54
  7595. Sb: #32619-Table Frame
  7596. Fm: Rick Fillman (Sysop) 76702,273
  7597. To: Gail Cox 72745,442
  7598.  
  7599.  > Is there a good example of what I am trying to do?
  7600.  
  7601. For starters, let's look at Learning Object Pal p. 49 for a
  7602. section titled "Inserting a record and generating a unique key
  7603. value.
  7604.  
  7605. Also, see the Object Pal Developers Guide p. 282 "Programming an
  7606. AutoIncrementing Key Field".
  7607.  
  7608. There are code example in each of the above locations.  Hope this
  7609. helps, and it the type of thing you are looking for.
  7610.  
  7611.     Rick Fillman, Tech Support (Borland)
  7612.  
  7613. #: 32623 S4/Forms
  7614.     02-Jun-93  22:56:44
  7615. Sb: #Pdox Forms
  7616. Fm: Frank Punzo 72262,350
  7617. To: Eddy
  7618.  
  7619. Eddy,
  7620.  
  7621. Can you offer any help on the other three questions in my last message?
  7622.  
  7623. 2) I have a form with a 1 to many relationship displayed.
  7624.    When I tab past the last field on the "1" part of the
  7625.    form to the first field on the "Many" part of the form,
  7626.    I can't Backtab to the last field on the "1" part of the
  7627.    form. 3) Is there any way to  disable the scroll bars on a form? 4) How do
  7628. you change the order in which EditRegions receive
  7629.    focus when the tab key is pressed in a form?i
  7630.  
  7631. * Reply:  32772
  7632.  
  7633. #: 32772 S4/Forms
  7634.     03-Jun-93  13:18:09
  7635. Sb: #32623-Pdox Forms
  7636. Fm: Rick Fillman (Sysop) 76702,273
  7637. To: Frank Punzo 72262,350
  7638.  
  7639. I'm not Eddy, but I'll try answering your questions:
  7640.  
  7641.  > I can't Backtab to the last field on the "1" part of the form.
  7642.  
  7643. OK. How about using the mouse?
  7644.  
  7645. Seriously, however, it is possible to change any particular
  7646. behavior (such as this) of a form via Object Pal.  If you wish to
  7647. pursue this, leave a question in one of the ObjectPal sections of
  7648. this Forum.
  7649.  
  7650. You could mouse-click back to the top.
  7651.  
  7652.  > Is there any way to  disable the scroll bars on a form?
  7653.  
  7654. Right-click "inspect" the form itself (on the title bar) (or use
  7655. the Properties|Form menu) and go to window styes, and unCheck
  7656. these properties.
  7657.  
  7658.  > How do you change the order in which EditRegions receive
  7659.  > focus when the tab key is pressed in a form?
  7660.  
  7661. The default is the Tab key takes use left to right, then down.
  7662. Use Design Group to create groups of objects.  Then, the Tab key
  7663. moves thru the objects in the group first!, and then on to the
  7664. next group.
  7665.  
  7666.      Rick Fillman, Tech Support (Borland)
  7667.  
  7668. #: 32632 S2/Install/CFG/HrdWare
  7669.     02-Jun-93  23:44:02
  7670. Sb: Floating PT Stck Under
  7671. Fm: Howard A. Bullock 70744,3263
  7672. To: all
  7673.  
  7674. I posted this in the dos forum also.
  7675.  
  7676.  :::: (forwarded) ::::::::::::::::::::::::::::::::::::::::::::::::
  7677.  
  7678.  #: 900000 S3/Outbox (Recon)
  7679.      02-Jun-93  11:42:00
  7680.  Sb: Floating PT Stck Under
  7681.  Fm: Howard A. Bullock 70744,3263
  7682.  To: all
  7683.  
  7684.  Win.ini
  7685.  Load=c:\wrk\sysmeter.exe,c:\quicken\billmind.exe
  7686.  
  7687.  Startup group has Drwatson and Clock
  7688.  
  7689.  If PdoxWin is loaded then exited and PdoxDos 4.01 is loaded I get a
  7690.  Floating-point stack under error dialog from windows. After pressing OK I see
  7691.  PdoxDos 4.0 minimized and Sysmeter blown away. Double clicking on PdoxDos 4.0
  7692.  starts the application and appaers to run just fine.
  7693.  
  7694.  Any Ideas?
  7695.  
  7696.  :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  7697.  
  7698. Howard
  7699.  
  7700. #: 32641 S1/Miscellaneous
  7701.     03-Jun-93  00:47:04
  7702. Sb: #Simple Graph
  7703. Fm: Peter Bergsman 73237,2057
  7704. To: sysop (X)
  7705.  
  7706. PDB 516
  7707. Sunday, May 30, 1993
  7708. 08:29 PM
  7709.  
  7710. BORLAND:
  7711.  
  7712. 1.  This is a PARADOX problem.  Please route it in the right direction.
  7713.  
  7714. 2.  I am very frustrated.  I am trying to accomplish an utterly simple
  7715. graphing task, and as near as I can tell, Paradox is totally stymied.
  7716.  
  7717. 3.  Here's the situation.  I have a table of 37 records.  Each record contains
  7718. 33 fields.  One of those fields is named "GS".  Now, GS is an alpha of size 1,
  7719. and each of its 37 instances contains one of eight possible single character
  7720. values.
  7721.  
  7722. 4.  All I want to do is create a graph that will be a histogram showing the
  7723. count of how many times each of the eight values occurs in those 37 instances.
  7724.  
  7725. 5.  Now here's the problem.  The graph constructing dialog (and cross tabbing
  7726. too, for that matter) demands that I provide DIFFERENT fields to identify (1)
  7727. the categories and (2) the data to be categorized.  Clearly I have only the
  7728. one field, and it both contains the data and implies the categories.
  7729.  
  7730. 6.  I can't believe that such a simple graphing (or tabulating, if we're
  7731. talking cross-tabs) operation is beyond Paradox.
  7732.  
  7733. Please Advise
  7734.  
  7735. Peter.
  7736.  
  7737. (Please reply to my CS E-Mail address -- Thanks)
  7738.  
  7739. * Reply:  32681
  7740.  
  7741. #: 32681 S1/Miscellaneous
  7742.     03-Jun-93  09:11:34
  7743. Sb: #32641-Simple Graph
  7744. Fm: Dan Ehrmann (TeamB) 70007,4644
  7745. To: Peter Bergsman 73237,2057 (X)
  7746.  
  7747. Peter:
  7748.  
  7749. Here is the solution to your problem:
  7750.  
  7751.        Create a query which checks the code field and places the following
  7752.        expression in the same field:  "Calc Count All"  (without quotes)
  7753.  
  7754.        Save the query to a .QBE file.
  7755.  
  7756.        Create a new form.
  7757.  
  7758.        Instead of adding a table to the data model, click on the TYPES box
  7759.        and select Queries.  Select the query you just saved.
  7760.  
  7761.        Create a blank form layout.
  7762.  
  7763.        Place a Graph object on the form, then define a bar graph with
  7764.        your ID field along the X-axis and the Count field along the Y-axis.
  7765.  
  7766. This should generate the graph you need, and it will then be easy to
  7767. customize it.  Whenever you open the form, the query is run automatically
  7768. before the graph is displayed.
  7769.  
  7770.  
  7771. [Dan -> ]
  7772.  
  7773. #: 32645 S4/Forms
  7774.     03-Jun-93  01:11:58
  7775. Sb: #one to one problems!
  7776. Fm: David Hayes 74740,2547
  7777. To: All
  7778.  
  7779. I need some help please...
  7780.  
  7781. I have been trying to get a form put together that is based on one table but
  7782. has fields from other tables in it (both multi record tables and one to one
  7783. relationships).
  7784.  
  7785. It seems that any of the tables that I put into the form that are defined as a
  7786. one to many relationship work fine but I cannot get the one to one
  7787. relationships to work.
  7788.  
  7789. #: 32652 S3/Tables/TableView
  7790.     03-Jun-93  01:35:55
  7791. Sb: #Descend Key/Sec. Index
  7792. Fm: Terry Moriarty 71310,2172
  7793. To: Sysop (X)
  7794.  
  7795. Is it possible to create a table with a descending key or even a secondary
  7796. index?  My application requires a version number and I want the newest version
  7797. (the one with the highest number) to be the first one presented to the user.
  7798.  
  7799. I figured out how to do this by generating the version number so that the
  7800. oldest one has the highest number and then decrement for each new version.
  7801. Then, I have to convert it whenever its displayed to the user, who wants the
  7802. oldest version to have the lowest number.
  7803.  
  7804. Having a descending key/index would make things a lot easier.
  7805.  
  7806. Thanks
  7807.  
  7808. * Reply:  32749
  7809.  
  7810. #: 32749 S3/Tables/TableView
  7811.     03-Jun-93  12:59:10
  7812. Sb: #32652-Descend Key/Sec. Index
  7813. Fm: David Orriss Jr(Sysop) 75300,1414
  7814. To: Terry Moriarty 71310,2172
  7815.  
  7816. Terry,
  7817.  
  7818.   If you use dBASE tables in your application then it is possible to create a
  7819. descending index for your tables.  Hope this helps.
  7820.  
  7821. David
  7822.  
  7823. #: 32672 S3/Tables/TableView
  7824.     03-Jun-93  07:53:28
  7825. Sb: #Time Math
  7826. Fm: jack lail 74726,1202
  7827. To: all
  7828.  
  7829. Sysop: I'm a new Paradox and new Paradox for Windows user and am creating a
  7830. database that will track the amount of time volunteers work. The paper
  7831. informaiton includes a time start and time end.
  7832.  
  7833. My question is can I create starttime and endtime fields in a table and later
  7834. do math on them subtract starttime from endtime? Does the time format matter,
  7835. i.e. does it have to be military time? Would [tablename.starttime -
  7836. tablename.endtime] work as a calculated field in a form?
  7837.  
  7838. Any suggestions on working with time and doing math with time would be
  7839. appreciated.
  7840.  
  7841. -- jack
  7842.  
  7843. * Reply:  32751
  7844.  
  7845. #: 32751 S3/Tables/TableView
  7846.     03-Jun-93  12:59:14
  7847. Sb: #32672-Time Math
  7848. Fm: David Orriss Jr(Sysop) 75300,1414
  7849. To: jack lail 74726,1202
  7850.  
  7851. Jack,
  7852.  
  7853.   While we do not have a Time field in Paradox for Windows tables, we do have
  7854. a Time datatype.  Ask in section 11 about how to use ObjectPAL to manipulate
  7855. time.  Hope this helps.
  7856.  
  7857. David
  7858.  
  7859. #: 32677 S3/Tables/TableView
  7860.     03-Jun-93  08:50:39
  7861. Sb: #auto incrementing field
  7862. Fm: Ted Michorczyk 71702,350
  7863. To: sysop (X)
  7864.  
  7865. HI THERE!!
  7866.  
  7867. I have a question about Paradox for Windows.  I'd like to purchase it while
  7868. the price is still very low, but I've read the pros and cons of it in
  7869. different magazines.  The CON that sticks out in my mind is that it doesn't
  7870. have a facility to work with SERIAL/COUNTER/AUTO-INCREMENTing fields.  Is this
  7871. true?  If it is how does one work around this and create an auto-incrementing
  7872. field as other databases have?
  7873.  
  7874. Thanks in advance for your advice....
  7875.  
  7876. Ted Michorczyk
  7877.  
  7878. * Replies:  32736, 32750, 32752
  7879.  
  7880. #: 32736 S3/Tables/TableView
  7881.     03-Jun-93  12:25:15
  7882. Sb: #32677-auto incrementing field
  7883. Fm: Brian Bushay (TeamB) 76711,516
  7884. To: Ted Michorczyk 71702,350
  7885.  
  7886. Ted
  7887.  
  7888.  
  7889. >The CON that sticks out in my mind is that it doesn't
  7890. >have a facility to work with SERIAL/COUNTER/AUTO-INCREMENTing fields.  Is this
  7891. >true?  If it is how does one work around this and create an auto-incrementing
  7892. >field as other databases have?
  7893.  
  7894. There is no built in field type that is Auto incrementing like some data
  7895. bases have.  In Paradox for windows Code can be attached to any object in  a
  7896. form.  It takes about 5 lines of code to create an auto incrementing
  7897. routine.  And you can save it and cut and past it between applications if
  7898. that makes it any easier.
  7899.  
  7900. Brian
  7901.  
  7902. #: 32750 S3/Tables/TableView
  7903.     03-Jun-93  12:59:13
  7904. Sb: #32677-auto incrementing field
  7905. Fm: David Lambert, DDS 76264,2246
  7906. To: Ted Michorczyk 71702,350
  7907.  
  7908. Ted:
  7909.  
  7910. As per Brians response, being a neophyte objectpal afficionado, it IS easy to
  7911. program an autoincrementing field number.  It's done with a TCursor (a pointer
  7912. to the field in memory).  From there on it, anytime you insert a new record
  7913. you autoincrement.
  7914.  
  7915. PdoxWin and objectpal are fairly easy to use and somewhat fun, actually.
  7916.  
  7917. Try it, you'll like it.
  7918.  
  7919. #: 32752 S3/Tables/TableView
  7920.     03-Jun-93  12:59:19
  7921. Sb: #32677-auto incrementing field
  7922. Fm: David Orriss Jr(Sysop) 75300,1414
  7923. To: Ted Michorczyk 71702,350
  7924.  
  7925. Ted,
  7926.  
  7927.   While we do not specifically have an auto-increment field at this time we
  7928. are aware of it's importance to our customers.  We are considering this
  7929. feature for future versions of our product.  In the meantime, we do provide
  7930. step by step instructions in our documentation for creating an auto-increment
  7931. field with current existing fields which gives all of the functionality of a
  7932. built-in auto-increment field.
  7933.  
  7934. Thanks for your interest in Paradox for Windows.
  7935. David Orriss Jr.
  7936. Paradox for Window Technical Support
  7937. Borland International
  7938.  
  7939. #: 33423 S3/Tables/TableView
  7940.     07-Jun-93  07:33:19
  7941. Sb: #33091-#auto incrementing field
  7942. Fm: David Lambert, DDS 76264,2246
  7943. To: Brian Bushay (TeamB) 76711,516 (X)
  7944.  
  7945. Yo Brian:
  7946.  
  7947. True, but for allowing compatibility for multiuser applications, I would
  7948. always use the TCursor method...wouldn't you??
  7949.  
  7950. DML
  7951.  
  7952. * Reply:  33745
  7953.  
  7954. #: 33745 S3/Tables/TableView
  7955.     08-Jun-93  01:43:55
  7956. Sb: #33423-auto incrementing field
  7957. Fm: Brian Bushay (TeamB) 76711,516
  7958. To: David Lambert, DDS 76264,2246 (X)
  7959.  
  7960. David
  7961.  
  7962.  
  7963. >True, but for allowing compatibility for multiuser applications, I would
  7964. >always use the TCursor method...wouldn't you??
  7965.  
  7966. Yes I would.
  7967.  
  7968. Brian
  7969.  
  7970. #: 34039 S3/Tables/TableView
  7971.     09-Jun-93  01:31:32
  7972. Sb: #auto incrementing field
  7973. Fm: Joe Surdoval 72567,560
  7974. To: David Orriss Jr(Sysop) 75300,1414 (X)
  7975.  
  7976. David,
  7977.  
  7978. Unfortunately, the current auto-numbering work-around is not just a hassle, it
  7979. is flawed because it requires use of a form.  We have many users (especially
  7980. beginners) who prefer to use tables for data entry -- this obviously
  7981. circumvents the integrity of the work-around.  A true auto-increment field
  7982. property would provide this flexibility.  I add my voice to all the others who
  7983. feel that this shortcoming is a serious drawback in a generally fine product.
  7984.  
  7985. Joe Surdoval
  7986.  
  7987. * Reply:  34081
  7988.  
  7989. #: 34081 S3/Tables/TableView
  7990.     09-Jun-93  11:53:25
  7991. Sb: #34039-auto incrementing field
  7992. Fm: David Orriss Jr(Sysop) 75300,1414
  7993. To: Joe Surdoval 72567,560
  7994.  
  7995. Joe,
  7996.  
  7997. > I add my voice to all the others who feel that this shortcoming is a
  7998. > serious drawback in a generally fine product.
  7999.  
  8000. Thanks for the information and your input.  I will be forwarding your
  8001. concerns to our management.  Thanks for using Paradox for Windows.
  8002.  
  8003. David
  8004.  
  8005. #: 32728 S4/Forms
  8006.     03-Jun-93  11:56:34
  8007. Sb: Nauseated with PdoxWin
  8008. Fm: Kurt Schmidt 72360,2755
  8009. To: Sun Tzu 70712,1135
  8010.  
  8011. >I am a new database user.  Have you tried Microsoft Access?  How would
  8012. compare >it with PDOX?
  8013.  
  8014. I have tried Access VERY BRIEFLY.  Access was increadibly slow on my machine,
  8015. so I gave up pretty early.  I think it has some better features than PdoxWin
  8016. and some worse.  Right now I think it is a toss up between the two... someone
  8017. who tried one may like better or hate the other.
  8018.  
  8019. Kurt
  8020.  
  8021. #: 32741 S1/Miscellaneous
  8022.     03-Jun-93  12:29:00
  8023. Sb: #App. Mem requrements
  8024. Fm: Bob Pack 76216,2503
  8025. To: Sysop and All (X)
  8026.  
  8027. How much RAM and disk space would a client need to run one of my apps with
  8028. the developers license? With the runtime?
  8029.  
  8030. I'm not concerned with speed, well my clients aren't. I need to know the
  8031. minimum Hardware for it to work. They can always get more RAM if they feel a
  8032. need to speed things up.
  8033.  
  8034. Thanks,
  8035.  
  8036. Bob
  8037.  
  8038. * Reply:  32845
  8039.  
  8040. #: 32845 S1/Miscellaneous
  8041.     03-Jun-93  15:49:28
  8042. Sb: #32741-App. Mem requrements
  8043. Fm: Brian Reed (Sysop) 71333,2360
  8044. To: Bob Pack 76216,2503
  8045.  
  8046. Bob,
  8047.  
  8048. The developers license will require 11.5 meg of disk space plus whatever your
  8049. application needs and a 4 meg machine.  Although the runtime version will
  8050. require considerably less than this, we have no specific information at this
  8051. time.
  8052.  
  8053. Brian Reed (sysop)
  8054.  
  8055. #: 32785 S3/Tables/TableView
  8056.     03-Jun-93  13:51:17
  8057. Sb: Can't restructure
  8058. Fm: Dick Rubin 71531,2254
  8059. To: all
  8060.  
  8061. This is driving me crazy.  I'm working with tables from an existing 4.0
  8062. application which uses relative directory addressing.  Main data tables are in
  8063. one directory and some lookups are in another.
  8064.  
  8065. If I try to open a main data table from its own directory, Pdoxwin complains
  8066. about missing or corrupt lookups and allows only read-only access.
  8067.  
  8068. If I open the table from my 4.0 application's root, e.g. "d\mytable", Pdoxwin
  8069. opens it up ok, but when I select Restructure I get the "Error occurred in
  8070. your application, Close or Ignore" dialog.  Whichever I choose, I then get
  8071. "Pdoxwin caused a General Protection Fault in module PXDCREAT.DLL at <hex
  8072. address>".
  8073.  
  8074. When I exit from there and try to restart Pdoxwin, I get the message "Could
  8075. not initialize ODAPI.: Directory is busy."  I have to exit Windows completely
  8076. and restart.
  8077.  
  8078. I hope I'm doing something wrong -- can anyone help?  Many thanks.
  8079.  
  8080. #: 33424 S11/Using ObjectPAL
  8081.     07-Jun-93  07:46:57
  8082. Sb: #Display Previous Record
  8083. Fm: Ernie Ferro 76340,2023
  8084. To: All
  8085.  
  8086.         I've got the following method attached to a delete button on a form
  8087. which contains an MRO that displays one record of a master table and also
  8088. contains a table which displays detail records associated with that master
  8089. table record.  The delete seems to work fine but when I'm done, the form is
  8090. blank and none of the VCR controls to bring another display into view seem to
  8091. work.  How can I get them to work and also display the record prior to the one
  8092. I just deleted.
  8093.         Thanks in advance for the assistance.
  8094. Ernie
  8095.  
  8096. * Reply:  33529
  8097.  
  8098. #: 33529 S11/Using ObjectPAL
  8099.     07-Jun-93  13:36:29
  8100. Sb: #33424-#Display Previous Record
  8101. Fm: Tarik Ghbeish =Sysop= 76711,643
  8102. To: Ernie Ferro 76340,2023 (X)
  8103.  
  8104. After the delete, use MasterTableFieldName.action( DataPriorRecord ).  Make
  8105. sure you are referring to the master table, not the detail.
  8106.  
  8107. Tarik
  8108.  
  8109. * Reply:  33606
  8110.  
  8111. #: 33606 S11/Using ObjectPAL
  8112.     07-Jun-93  16:59:18
  8113. Sb: #33529-#Display Previous Record
  8114. Fm: Ernie Ferro 76340,2023
  8115. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  8116.  
  8117. Tarik,
  8118.         Thanks for the information.  Works great.  Now for another question.
  8119.         I've got a field in my MRO called Name which is not part of any table.
  8120. It's purpose is to display the name of an employee from my employee table when
  8121. I enter a valid employee number into the Employee Number field.  The Employee
  8122. Number field is on the MRO and is part of my OUTPMAST table.  A single record
  8123. of the OUTPMAST table is displayed on the same MRO as the Name field.  What's
  8124. the best way to keep the correct name displayed in the Name field no matter
  8125. whether I'm editing/inserting a record or simply displaying existing records
  8126. on the form?  I've got some code attached to my Employee No field that does a
  8127. TCursor locate to display the name in the Name field.  That works fine as long
  8128. as I'm editing/inserting.  But if I display the records, the Name field
  8129. doesn't change.  What can I do to have the proper name displayed no matter
  8130. what I do.
  8131.         Thanks again.
  8132. Ernie
  8133.  
  8134. * Reply:  33677
  8135.  
  8136. #: 33677 S11/Using ObjectPAL
  8137.     07-Jun-93  20:59:45
  8138. Sb: #33606-#Display Previous Record
  8139. Fm: Mike Irwin/Co-Assist 100114,1437
  8140. To: Ernie Ferro 76340,2023 (X)
  8141.  
  8142. Ernie,
  8143.  
  8144. to sense when something has changed in a field (the reference in your parent
  8145. table, here, that is a foreign key in your name table), look at the
  8146. changeValue() and newValue() methods for _that_ controlling field. What you
  8147. need to do is alter field B when field A changes. Alternatively, bring the
  8148. table onto the form and link !
  8149.  
  8150. hope this helps
  8151.  
  8152. Mike
  8153.  
  8154. * Reply:  33774
  8155.  
  8156. #: 33774 S11/Using ObjectPAL
  8157.     08-Jun-93  08:47:48
  8158. Sb: #33677-#Display Previous Record
  8159. Fm: Ernie Ferro 76340,2023
  8160. To: Mike Irwin/Co-Assist 100114,1437 (X)
  8161.  
  8162. Mike,
  8163.         Thanks for the information.  I think my best bet will be to link the
  8164. Employee master file to the form.  I do have a small problem with which I hope
  8165. you can help.  The unattached Name field actually displays a variable which is
  8166. the concatenation of the fields First Name, Middle Name and Last Name.  When I
  8167. eliminate the unattached name field, I'll be replacing it with three fields
  8168. called First Name, Middle Name and Last Name.  I don't have room to display
  8169. all three fields in the form.  Is there a way that I can delete the text from
  8170. the labels for the fields and put all three fields together so they look like
  8171. one field?  When I right click on the text labels for the field and hit
  8172. delete, PDOXWIN tells me that it cant delete text#nn.  Is there a way to make
  8173. all three look like one?
  8174.         Thanks for the help.
  8175. Ernie
  8176.  
  8177. * Reply:  33809
  8178.  
  8179. #: 33809 S11/Using ObjectPAL
  8180.     08-Jun-93  11:06:49
  8181. Sb: #33774-Display Previous Record
  8182. Fm: Tarik Ghbeish =Sysop= 76711,643
  8183. To: Ernie Ferro 76340,2023 (X)
  8184.  
  8185. Right click on the entire field and select Display Type | Unlabeled.
  8186.  
  8187. Alternatively, use one field and make it a calculated field with the
  8188. calculation :
  8189. LastName + ", " + FirstName + " " + Middle
  8190.  
  8191. or whatever approximation you require.
  8192.  
  8193. Tarik
  8194.  
  8195. #: 33425 S1/Miscellaneous
  8196.     07-Jun-93  08:02:36
  8197. Sb: #Confusion
  8198. Fm: T. Pat Kelly 6121,47
  8199. To: all
  8200.  
  8201. I'm confused about the order in which one develops an application.  I've been
  8202. reading one of the new books on PDOX for WIN and either it's led me astray or
  8203. I've gone down the primrose path.
  8204.  
  8205. With PDOX 3.5 I would, after appropriate analysis and design work, create
  8206. tables; then forms; then reports; then start PAL CODE development.
  8207.  
  8208. In the PDOX-WIN book there is a discussion of tables, reports, forms, objects.
  8209. BUT, when we get to creating a sample application, the book goes directly into
  8210. creating a form....creating fields (?) on the fly.  Back in the section on
  8211. forms there is a mysterious comment to the effect (as I read it) that most
  8212. often forms are based on tables; but "not always".  What?
  8213.  
  8214. Can/Will someone please give me a mini BLOW BY BLOW on how to create a
  8215. complete application in PDOX WIN.  I have an application I want to create that
  8216. will list all staff in an organization.  Includes their names, address,
  8217. phones, divisons, branches and units they belong to; their education level and
  8218. technical speciality. AND, a picture of them.
  8219.  
  8220. Thanks,
  8221.  
  8222. Pat
  8223.  
  8224. * Reply:  33460
  8225.  
  8226. #: 33460 S1/Miscellaneous
  8227.     07-Jun-93  10:28:20
  8228. Sb: #33425-#Confusion
  8229. Fm: Alan M. Dunsmuir 100016,1251
  8230. To: T. Pat Kelly 6121,47 (X)
  8231.  
  8232. <<Can/Will someone please give me a mini BLOW BY BLOW on how to create a
  8233. complete application in PDOX WIN>>
  8234.  
  8235. Because of the flexibility of the medium, and because it's new, I'm not sure a
  8236. "standard" or "best practice" approach has developed yet. I'll tell you what I
  8237. did with the biggext application I've developed to date.
  8238.  
  8239. First, you clearly need at least a "preliminary firm" view of what your Tables
  8240. are going to be, and how they'll be organised. You'll also need a narrative
  8241. specification of each of the operational "blocks" of the application.
  8242.  
  8243. You may well then start experimenting in interactive mode, trying out some
  8244. queries (they're much more flexible, in terms of field and sort order and
  8245. "answer" Table name, than in Paradox 3.5/4) to see if you get the correct
  8246. records for the Output Tables/Reports you want to have.
  8247.  
  8248. Then you're going to have to turn to Form design, since effectively all coding
  8249. in PfW is associated with objects on Forms. (As an alternative to a customised
  8250. menu system, you might consider starting with a Form with just a series of
  8251. Push Buttons on it, each one resulting in the loading of a different lower
  8252. level Form.)
  8253.  
  8254. Since you attach individual methods to the objects on the Forms, your
  8255. development is going to be really piecemeal from this point on. This has the
  8256. advantage that you can develop from bottom up, getting individual "atoms" of
  8257. your application working without over-concerning yourself about how they will
  8258. ultimately hang together. The disadvantage is that you'll likely make a lot of
  8259. bad choices on where to attach methods. You'll find yourself duplicating
  8260. something you've already written in one place somewhere else. Then you'll
  8261. decide it would be better to replace both these instances with a procedure
  8262. attached somewhere that is visible to both locations. Then you might want to
  8263. do the same thing on another Form and you'll have the choice of duplicating
  8264. the coding again, or moving it to a library.
  8265.  
  8266. Then you'll have to decide how to pass operational data between Forms. I
  8267. choose to do it via temporary working Tables, but I'm ready to be told that
  8268. this is vastly inefficient (I don't know whether it is or not) and again I
  8269. should be using libraries. You'll have to become familiar with what you can do
  8270. with the different - and often confusing - categories of variables, e.g.
  8271. TableView, Table and TCursor.
  8272.  
  8273. And you'll have to decide how to get data into your application. (Here I tend
  8274. to take the - perhaps idiosyncratic and again inefficient - line of using
  8275. special Data Input Tables around which I build my data entry Forms, and I post
  8276. from there into my "real" Tables completely under ObjectPAL control (using
  8277. TCursors), rather than using any semi-automatic facilities provided by
  8278. Paradox.)
  8279.  
  8280. Finally, I "Deliver" all my developed Forms and Reports to another directory
  8281. and test the system there. For a multi-user system I use a "home" directory,
  8282. from which the application is run, for all the "private" Tables which are
  8283. going to be duplicated for each user, and I use an Alias to point at another
  8284. directory (on a File server for the installed application) which contains all
  8285. the shared Tables.
  8286.  
  8287. * Reply:  33498
  8288.  
  8289. #: 33498 S1/Miscellaneous
  8290.     07-Jun-93  13:29:20
  8291. Sb: #33460-#Confusion
  8292. Fm: T. Pat Kelly 6121,47
  8293. To: Alan M. Dunsmuir 100016,1251 (X)
  8294.  
  8295. Alan,
  8296.  
  8297. Thanks for the information.  If I may, I'd like to take several points a step
  8298. further:
  8299.  
  8300. You say "...narrative specification of each operational "BLOCKS".  Waht does\
  8301. this mean?  Is it a description of what is to go on with all functions that
  8302. can/will be put on the form?
  8303.  
  8304. Next,  "...pass operational data between forms...  Will you explain the need
  8305. to do this and when you do it?  Along with this, you say you use "...special
  8306. data input tables..." Why and in what context?  Not that I'm quesioning your
  8307. use of same....far be it from me doing that!! [grin].  I just don't have a
  8308. clue as to why.
  8309.  
  8310. Next, You use the phrase "Object on Form"  am I right in thinking that this
  8311. phrase is = to a form with push buttons and/or menu selections of actions that
  8312. can be done; i.e., a menu pick of options/operations that can be performed?
  8313.  
  8314. At what point do you do linking of tables for Referential Integrity.....Before
  8315. form design or durring/after?
  8316.  
  8317. If you have several reports that can be generated out of one table, do you
  8318. offer them as menu selections on one form or several forms on the same table?
  8319.  
  8320. Have you found that you can "salvage" pal code written in 3.5 to use in
  8321. pdoxwin?.............i.e., procs to do little tasks like inform user of what
  8322. is going on   "Please Wait...Working.............." is an example of what I'm
  8323. thinking about.
  8324.  
  8325. Pat
  8326.  
  8327. * Reply:  33758
  8328.  
  8329. #: 33758 S1/Miscellaneous
  8330.     08-Jun-93  04:01:47
  8331. Sb: #33498-#Confusion
  8332. Fm: Alan M. Dunsmuir 100016,1251
  8333. To: T. Pat Kelly 6121,47 (X)
  8334.  
  8335. <<narrative specification of each operational "BLOCK">>
  8336.  
  8337. That would be, at the top level, just a sentence or paragraph (to get my own
  8338. thinking straight, not as a communication document for others) saying what
  8339. each option on the top level application-specific menu (or Push Button) would
  8340. do.
  8341.  
  8342. <<pass operational data between forms>>
  8343.  
  8344. Because the "highest" Object is the Form, and because it's not always
  8345. convenient to design your applications around the pages of a single multi-page
  8346. Form (but you should seriously consider whether that would be feasible, since
  8347. it's more convenient than using multiple Forms), variables defined on one
  8348. Form, and which are therefore not "visible" to any other Form in the
  8349. application, if needed on another Form have either to be stored in a library
  8350. where they can be accessed by more than one Form in the Application or written
  8351. to Tables in one Form and read from them in another (using TCursor variables
  8352. both times). This is of course where values need to be passed in excess of the
  8353. single one allowed as the returned parameter of a procedure call.
  8354.  
  8355. <<special data input tables>>
  8356.  
  8357. I never DID get well into the special data entry options in Paradox 3.5, and
  8358. have carried tha ignorance over to PfW. I'll design my data entry screem
  8359. around what data values I need to have, then specify one or more "data entry
  8360. Tables" with the correct structure to accept these values. Then data entry
  8361. will consist of (a) emptying these tables when the data entry Form is opened;
  8362. (b) letting the user fill up the data entry Tables as required; and (c) when
  8363. he hits the "OK" button, running the appropriate ObjectPAL coding to
  8364. "batch-update" the underlying application Tables. I realise this simplistic
  8365. approach won't necessarily work if you're working on a multi-user,
  8366. multi-update application (the type my tormentors in Computing Division say I
  8367. ought only to be using PowerBuilder and Oracle to develop), but I've got away
  8368. with it up to now, since my applications are scarcely "mission critical" <g>.
  8369.  
  8370. <<"Object on Form">>
  8371.  
  8372. As well as being a Push Button, a set of Radio Buttons ro Check Boxes, or a
  8373. menu list, this could very well be a list box, an edit list box, a
  8374. straightforward data entry field, a Table Frame - useful for getting data of
  8375. the type "provide new end dates for each of the following currrently active
  8376. items..." - or even a graphic, which when you get to play with advanced Form
  8377. design you will learn to switch between visible and invisible status to
  8378. indicate different staes of Form completion.
  8379.  
  8380. I have developed a very sexy use of two linked list boxes (stolen from the
  8381. MAST application, then improved) to make the operation "select any subset of m
  8382. items from an available list of n items, where m is <= n" almost painless for
  8383. the user.
  8384.  
  8385. <<Referential Integrity>>
  8386.  
  8387. I had an early and very bad experience with referential integrity in what
  8388. SHOULD have been a very simple and straightforward application, which I was
  8389. unable to fix even after asking repeated questions of the SysOps here, so have
  8390. steered well clear since then. (That, I think, is the secret currently with
  8391. PfW - find something that works and stick with it: don't do what I did with,
  8392. for example, DDE and flog it almost to death trying to get it to work
  8393. properly. Until there's wider knowledge avaiable to help you, you'll never
  8394. know whether you're doing something wrong or if there's a bug - sorry! a
  8395. feature <g> - in the current version of PfW. However, having said that, I DID
  8396. get DDE to work finally.)
  8397.  
  8398. I think experienced advice is that you should not put in RI until you're sure
  8399. you've totally completed Table design for your complete application.
  8400.  
  8401. <<several reports that can be generated out of one table>>
  8402.  
  8403. I think how you offer those is simply a matter of taste. I personally would
  8404. offer either menu selection or multiple buttons on a single Form.
  8405.  
  8406. <<Have you found that you can "salvage" pal code written in 3.5 to use in
  8407. pdoxwin?>>
  8408.  
  8409. Almost not at all. There are parallels - your example of the status line
  8410. message, for example. But it's better to stick to concept-level carry-over,
  8411. and plan to code from the ground up. (I WAS able to "backwards engineer" a PfW
  8412. application to Paradox 4 making heavy use of P4's Dialog Boxes - with grateful
  8413. acknowledgements to PaintPAL - in place of PfW's Forms. But the extra coding
  8414. to get simple things to work in P4 (e.g. a simple "Do you want to proceed?"
  8415. question box) was much greater in P4 than in PfW. I guess with time you could
  8416. build a libray of "common parts" which could be cobbled together with less
  8417. effort for future applications. But P3.5 and PfW are just too far apart for
  8418. any carryover (other than sequences of Query executions in the "Processing"
  8419. parts of your Applications) to be possible.
  8420.  
  8421. Your best way forward now I think is trial and error <g>.
  8422.  
  8423. #: 33428 S11/Using ObjectPAL
  8424.     07-Jun-93  08:29:02
  8425. Sb: #Windows open file error
  8426. Fm: John Small 72160,2316
  8427. To: Randy Sell (Sysop) 75300,2147 (X)
  8428.  
  8429. Hi Randy
  8430.  
  8431. Still no luck with the unable to read from drive C: error. It just comes and
  8432. goes and I just get on with my work.
  8433.  
  8434. Regarding Tutility. While it most certainly does leave the RI information
  8435. intact, it does have this nasty habit of throwing out all my records as
  8436. problem records. I suspect that this may be due to something related to RI,
  8437. because only files invloved in an RI link have this problem.
  8438.  
  8439. I just load the records back in from the backup when I've done using it.
  8440.  
  8441. Another RI problem I've got is that I just went to restructure a master table
  8442. that has a lot of dependant tables. It said it could not create a struct.db!!.
  8443.  
  8444. Odd because if I just asked for information then struct.db was created
  8445. perfectly OK. Also when I copied the file to another name, the other file
  8446. allowed the restructure to take place, but of course being a copy of the
  8447. parent it did not have alll the child tables related to it.
  8448.  
  8449. If I removed the RI links from the child tables, then I could restructure the
  8450. parent table.
  8451.  
  8452. Is there some sort of limit beyond which if a parent table has too many child
  8453. tables a restructure operation is not allowed?
  8454.  
  8455. Oh yes, and on the QBE errors. They came up not when opening the QBE file, but
  8456. when the QBE file started opening its constituent files. It also happend at
  8457. exactly the same place on two separate machines which makes a damaged disk
  8458. unlikely. In any case chkdsk /f shows up nothing.
  8459.  
  8460. When I get a chance I'll post another message regarding an error on QBE in
  8461. forms and reports. No one responded to my first message, plus a sample app
  8462. that duplicates the error.
  8463.  
  8464. Regards
  8465.  
  8466.  
  8467. John
  8468.  
  8469. * Reply:  33559
  8470.  
  8471. #: 33559 S11/Using ObjectPAL
  8472.     07-Jun-93  14:40:57
  8473. Sb: #33428-Windows open file error
  8474. Fm: Randy Sell (Sysop) 75300,2147
  8475. To: John Small 72160,2316 (X)
  8476.  
  8477. John-
  8478.  
  8479. >>Is there some sort of limit beyond which if a parent table has too many
  8480. child tables a restructure operation is not allowed?
  8481.  
  8482. Not to my knowledge.  If you can't create a STRUCT.DB file, then you either
  8483. have disk problems, or a lack of disk space.  Some sort of resource depletion
  8484. would be my guess.  Wish I could help more, but I'm afraid I'm out of answers.
  8485. Anyone else have two cents to throw in here?
  8486.  
  8487. Randy Sell
  8488. PDW Technical Support
  8489.  
  8490. #: 33431 S1/Miscellaneous
  8491.     07-Jun-93  08:47:59
  8492. Sb: #33385-Window sizes
  8493. Fm: Dan Ehrmann (TeamB) 70007,4644
  8494. To: Ted Carson 74220,3511
  8495.  
  8496. Ted:
  8497.  
  8498. When you are designing your form, right-click on the form's title bar and
  8499. select the "Window Style..." option.  You will see an important dialog box
  8500. allowing you specify Window Properties, including one option called
  8501. "SizeToFit".
  8502.  
  8503. This is the one you need.  Make sure it's checked.
  8504.  
  8505.  
  8506. [Dan -> ]
  8507.  
  8508. #: 33432 S1/Miscellaneous
  8509.     07-Jun-93  08:48:04
  8510. Sb: #33409-Picture string in form
  8511. Fm: Dan Ehrmann (TeamB) 70007,4644
  8512. To: Scott Basham 73042,2410 (X)
  8513.  
  8514. Scott:
  8515.  
  8516. Try the property  "EditEnterPersistFieldView"  (or something close to that - I
  8517. don't have my manuals handy.)
  8518.  
  8519.  
  8520. [Dan -> ]
  8521.  
  8522. #: 33434 S9/Learning ObjectPAL
  8523.     07-Jun-93  08:48:16
  8524. Sb: #33362-#Scripts
  8525. Fm: Dan Ehrmann (TeamB) 70007,4644
  8526. To: Ronn Koester 72717,3507 (X)
  8527.  
  8528. Ronn:
  8529.  
  8530. Unfortunately, you cannot restructure a table under program control. Instead,
  8531. you should use a query to insert your data into a new and empty table with the
  8532. correct structure.
  8533.  
  8534. In addition, you cannot perform ASCII exports under script control from the
  8535. File - Utilities menu.  Instead, use the TextStream Object type to roll your
  8536. own ASCII export.
  8537.  
  8538. Keep in mind that unlike PAL in PdoxDOS, OPAL is not an "invisible user"
  8539. walking the menus and pressing the keys for you.
  8540.  
  8541. The inability to perform these two functions directly is a source of concern
  8542. to many people, and I'm sure Borland will address it as soon as possible.
  8543.  
  8544.  
  8545. [Dan -> ]
  8546.  
  8547. #: 33455 S5/Reports
  8548.     07-Jun-93  10:20:49
  8549. Sb: #Reports
  8550. Fm: Joann Lund 75410,1102
  8551. To: Scott Arnett(Sysop) 76711,650 (X)
  8552.  
  8553. Scott,
  8554. Thanks for your help with that other report your solution worked.  But I have
  8555. another question -- If you want to print the following how would you do it:
  8556. I want to group two dunning codes together codes 1 and 2 with one text and
  8557. then code 3 with another text?  The text for 1 and 2 should only print once
  8558. with the two groups of records together - now it is printing with the 1's and
  8559. the 2's.  Also how can I get the header of the records to only print with the
  8560. first group?
  8561. Thanks for your time.
  8562.  
  8563. * Reply:  34096
  8564.  
  8565. #: 34096 S5/Reports
  8566.     09-Jun-93  12:52:24
  8567. Sb: #33455-Reports
  8568. Fm: Scott Arnett (Sysop) 76711,650
  8569. To: Joann Lund 75410,1102 (X)
  8570.  
  8571. Joann-
  8572.  
  8573. You would need to add a condition to the calculation that looks for the first
  8574. code.  If the records are grouped by code, then code 1 will probably always
  8575. print first, so you place a IIF that checks to see if code=1 before it
  8576. prints.  You can also use this to keep the headings from printing between
  8577. groups 1 and 2.  If you place the headder in a series of calculated fields,
  8578. and place these in a text box, and make the group headder the same size as
  8579. the text box, it might work out.
  8580.  
  8581. -Scott
  8582.  
  8583. #: 33763 S5/Reports
  8584.     08-Jun-93  05:46:04
  8585. Sb: #reports
  8586. Fm: Stephen De Marco 73112,3310
  8587. To:  73112,3310 (X)
  8588.  
  8589. Reference the problem printing on an ASCII printer. If I have the printer
  8590. selection set correctly to the ASCII printer, then the table comes up in Roman
  8591. type, and it prints OKay. But, if I run a query on that table the ANSWER is in
  8592. Arial type anint. I have to select each element of the answer table and change
  8593. it to Roman. There should be a better way. Is there a system session setting
  8594. that has tables, reports, queries, etc. all come up in a particular font?
  8595.  
  8596. * Reply:  34154
  8597.  
  8598. #: 34154 S5/Reports
  8599.     09-Jun-93  15:57:50
  8600. Sb: #33763-reports
  8601. Fm: Scott Arnett (Sysop) 76711,650
  8602. To: Stephen De Marco 73112,3310
  8603.  
  8604. Stephen-
  8605.  
  8606. If you want to set a default font for your answer table do this:
  8607.  
  8608. 1) Open the quewry and choose Properties | Answer Table | Options
  8609.  
  8610. 2) Click on the image of the Answer table and do Shift+Ctrl+M.
  8611.  
  8612. 3) Set the font you want, and click OK.
  8613.  
  8614. 4) Save the query.
  8615.  
  8616. This will allow you to set a default font for that query.
  8617.  
  8618. -Scott
  8619.  
  8620. #: 34119 S5/Reports
  8621.     09-Jun-93  13:11:35
  8622. Sb: #reports
  8623. Fm: Bradley Tubbs 70702,3245
  8624. To: sysop (X)
  8625.  
  8626. I am rewriting our company's inventory application using PDOXWIN. We will be
  8627. printing out large inventory reports.  Is there any way to print reports in
  8628. text mode using the printer's default draft font?
  8629.  
  8630. * Reply:  34184
  8631.  
  8632. #: 34184 S5/Reports
  8633.     09-Jun-93  17:44:42
  8634. Sb: #34119-reports
  8635. Fm: Ken Merson -Sysop- 76117,3146
  8636. To: Bradley Tubbs 70702,3245 (X)
  8637.  
  8638. To get text-only output from Windows, you'll need to install and use the
  8639. Generic/Text-Only printer driver. Design your paradox reports to use Roman
  8640. 10cpi for fields and text objects.
  8641.  
  8642. The resulting output should use whatever typeface is current at the printer.
  8643.  
  8644. km :^,
  8645.  
  8646. #: 33458 S6/Queries
  8647.     07-Jun-93  10:24:31
  8648. Sb: #HowTo: calc lagged vars
  8649. Fm: GIL JEFFER 72410,1001
  8650. To: ALL
  8651.  
  8652. How can I calculate a new field that is a moving average over three records?
  8653. Example:
  8654.  
  8655. Seq #  Var#1  CalcMovingAverage -----  -----  -----------------
  8656.   1      3          null     <--- since no data from record-1 and record-2
  8657.   2      7          null     <--- since no data from record-2
  8658.   3      5           5       <--- avg of (3, 7, 5)
  8659.   4      8           8.66    <--- avg of (7, 5, 8)
  8660.   5      3           5.33    <--- avg of (5, 8, 3)
  8661.  ...    ...          ...
  8662.  
  8663.  
  8664. Can this be done?  Can this be done through a Query, or does it take Pal? Any
  8665. and all help will be appreciated, thanks in advance...
  8666.  
  8667. * Reply:  33599
  8668.  
  8669. #: 33599 S6/Queries
  8670.     07-Jun-93  16:16:35
  8671. Sb: #33458-HowTo: calc lagged vars
  8672. Fm: Quinn Wildman (Sysop) 76703,3033
  8673. To: GIL JEFFER 72410,1001
  8674.  
  8675. You'll definitle need ObjectPal to do what you want here.  Here's some
  8676. ObjectPal that should what you want.  It assumes the moving average field
  8677. already exists in your table.
  8678.  
  8679. var
  8680.   tc tcursor
  8681.   ar array[3] number
  8682. endvar
  8683. tc.open("table")
  8684. tc.edit()
  8685. scan tc:
  8686.   ar[3]=ar[2]
  8687.   ar[2]=ar[1]
  8688.   ar[1]=tc."var#1"
  8689.   if tc.recno()>2 then
  8690.     tc.movingaverage=(ar[1]+ar[2]+ar[3])/3
  8691.   endif
  8692. endscan
  8693. tc.close()
  8694.  
  8695. #: 33464 S11/Using ObjectPAL
  8696.     07-Jun-93  10:57:08
  8697. Sb: #33237-#Restructure after add()
  8698. Fm: Tim Colling (TeamB) 70007,4655
  8699. To: David Ellis 72240,370 (X)
  8700.  
  8701. Dave -
  8702.  
  8703. >>When the created keyed table is the target of a query, the key is removed.
  8704. Is there a way to have the key retained in this case?<<
  8705.  
  8706. Nope.  The problem is that the query apparently overwrites the old .db file
  8707. and any related index files.
  8708.  
  8709. The approach you'd probably want is something like this:
  8710.  
  8711.  define query
  8712.  execute query
  8713.  create newtable like answertable, using
  8714.        the optional key designation syntax of the CREATE command
  8715.        (assumes, of course, that you know which field(s) you
  8716.        wish to be keyed...)
  8717.  add answertable to newtable
  8718.  
  8719. Tim
  8720.  
  8721. * Reply:  33501
  8722.  
  8723. #: 33501 S11/Using ObjectPAL
  8724.     07-Jun-93  13:29:58
  8725. Sb: #33464-#Restructure after add()
  8726. Fm: Woody Splawn 73627,3541
  8727. To: Tim Colling (TeamB) 70007,4655 (X)
  8728.  
  8729. Hope they do something about this in a future release.  If its a big table the
  8730. query itself can take quite a while; then, adding that to an empty table with
  8731. an index can take quite a while too.
  8732.  
  8733.  
  8734. Woody
  8735.  
  8736. * Reply:  33541
  8737.  
  8738. #: 33541 S11/Using ObjectPAL
  8739.     07-Jun-93  14:13:18
  8740. Sb: #33501-Restructure after add()
  8741. Fm: Tarik Ghbeish =Sysop= 76711,643
  8742. To: Woody Splawn 73627,3541 (X)
  8743.  
  8744. Use the index command.  It can create indexes.
  8745.  
  8746. Tarik
  8747.  
  8748. #: 33465 S11/Using ObjectPAL
  8749.     07-Jun-93  11:05:29
  8750. Sb: #Uiobject Which Button??
  8751. Fm: Doug Walker 75360,2004
  8752. To: All
  8753.  
  8754. Hi:
  8755.  
  8756. How do you find out which button the user clicked on the dialog box that is
  8757. displayed by the VIEW method for a UIOBJECT? We use the view method to prompt
  8758. the user for information but we can't figure out how to tell if they clicked
  8759. cancel which would indicate they wanted to abort the operation. We are getting
  8760. around it by using the msgquestion method to display a confirmation request.
  8761.  
  8762. Any other Ideas???
  8763.  
  8764. Thanks Doug Walker
  8765.  
  8766. * Replies:  33698, 33849
  8767.  
  8768. #: 33698 S11/Using ObjectPAL
  8769.     07-Jun-93  21:25:13
  8770. Sb: #33465-#Uiobject Which Button??
  8771. Fm: Bill Todd (Kallista) 75046,1345
  8772. To: Doug Walker 75360,2004 (X)
  8773.  
  8774. You don't find out.  If the user presses cancel any value they typed in is
  8775. ignored.  If they press OK the value is assigned to the variable.  You might
  8776. assign blank or zero before the view and see if it has changed.
  8777.  
  8778. Bill
  8779.  
  8780. #: 33849 S11/Using ObjectPAL
  8781.     08-Jun-93  12:35:44
  8782. Sb: #33465-#Uiobject Which Button??
  8783. Fm: Robert Hall (Borland) 70674,513
  8784. To: Doug Walker 75360,2004 (X)
  8785.  
  8786. As far as I know, there's no explicit way to find out which button the user
  8787. clicked to close a view() dialog box. The best you can do is test whether
  8788. the user changed the value displayed in the dialog box, something like this:
  8789.  
  8790. method pushButton(var eventInfo Event)
  8791.    var
  8792.       promptString,
  8793.       responseString   String
  8794.    endVar
  8795.  
  8796.    promptString = "Enter your name here."
  8797.    responseString = promptString
  8798.  
  8799.    responseString.view("What's your name?")
  8800.  
  8801.    if responseString = promptString then
  8802.       msgInfo("No reponse", "User clicked cancel or closed dialog box.")
  8803.    else
  8804.       msgInfo("User responded", "User entered new value and clicked OK.")
  8805.    endIf
  8806.  
  8807. endmethod
  8808.  
  8809. If you need more control than that, you're probably better off creating
  8810. your own dialog box form.
  8811.  
  8812. =Robert
  8813.  
  8814. #: 33466 S1/Miscellaneous
  8815.     07-Jun-93  11:20:15
  8816. Sb: Housekeeping
  8817. Fm: Quentin McGown 71005,463
  8818. To: Sysop (X)
  8819.  
  8820. How can I arrange the Icons in a folder.  I would like to place all the .DB,
  8821. .RSL, and .FSL Icons in a certain order.  The folder seems to place them at
  8822. random or in the order in which they were added.   Is there a way I can
  8823. arrange them to my preference?
  8824.  
  8825. Thanks,
  8826. Q
  8827.  
  8828. #: 33471 S11/Using ObjectPAL
  8829.     07-Jun-93  12:08:47
  8830. Sb: #Export & Import
  8831. Fm: Mike Gee 100047,123
  8832. To: SYSOP (X)
  8833.  
  8834. Is there any means of triggering an import or export operation from within
  8835. OPAL ?
  8836.  
  8837. * Reply:  33826
  8838.  
  8839. #: 33826 S11/Using ObjectPAL
  8840.     08-Jun-93  11:50:23
  8841. Sb: #33471-#Export & Import
  8842. Fm: Brian McKinley 70524,2535
  8843. To: Mike Gee 100047,123
  8844.  
  8845. Mike,
  8846.  
  8847. I am not Sysop, but I spent a lot of time on this issue.
  8848.  
  8849. There is no support built in to objectPal for the Import and Export
  8850. functions.  You can call their dialog boxes buy using the constants
  8851. MenuDataImport and MenuDataExport.  You cannot however use these constants
  8852. directly as in MenuAction( MenuDataImport ).  For some reason, this does
  8853. not work.  If you instead use a constant which does work i.e MenuWindowTile
  8854. and then swith the id inside the MenuAction method, the dialog box will
  8855. appear.
  8856.  
  8857.  
  8858. MenuAction( MenuWindowTile ) ; called from another method
  8859.  
  8860. method MenuAction( var eventInfo MenuEvent )
  8861.  
  8862. if eventInfo.id() = MenuWindowTile then
  8863.    eventInfo.sedId( MenuDataImport )
  8864. endif
  8865.  
  8866. endmethod
  8867.  
  8868.  
  8869. From here there are ways to control the dialog box using the windows api
  8870. ( function in the User DLL which comes with Windows ), and when I get time,
  8871. I will post an example in the library.  I currently have an application
  8872. which does fixed length import import from objectPal.  I have also written
  8873. code to do an ASCII import.  If you let me know what you need, I may be
  8874. able to put something together for you.
  8875.  
  8876. Brian
  8877.  
  8878. * Reply:  33930
  8879.  
  8880. #: 33930 S11/Using ObjectPAL
  8881.     08-Jun-93  17:54:41
  8882. Sb: #33826-Export & Import
  8883. Fm: Brian McKinley 70524,2535
  8884. To: Brian McKinley 70524,2535 (X)
  8885.  
  8886. Mike,
  8887.  
  8888. Thats MenuFileImport and MenuFileExport.  Sorry, I was writing without a
  8889. reference guide.
  8890.  
  8891. Brian
  8892.  
  8893. #: 33472 S11/Using ObjectPAL
  8894.     07-Jun-93  12:17:05
  8895. Sb: #Can you prevent Bubbling
  8896. Fm: Woody Splawn 73627,3541
  8897. To: All
  8898.  
  8899. I was under the impressing that you could prevent an external event from
  8900. bubbling up. That is, I was told that any method that deals with an external
  8901. event can kill the event by setting errorcode to 1 (or something non zero).
  8902.  
  8903. I have a form with a button on it that when pushed inserts a new record and
  8904. assigns a new record number.  After I get the number I set errorcode to 1 and
  8905. continue on with InsertRecord().  Upon doing a debug, however, I see that
  8906. after doing the insert, the code goes to the action method of the form and the
  8907. action method of the MRO.   It appears to me that setting errorcode to 1 did
  8908. not prevent the method from bubbling up.
  8909.  
  8910. Can someone clarify?
  8911.  
  8912. Woody
  8913.  
  8914. * Replies:  33542, 33679
  8915.  
  8916. #: 33542 S11/Using ObjectPAL
  8917.     07-Jun-93  14:13:21
  8918. Sb: #33472-Can you prevent Bubbling
  8919. Fm: Tarik Ghbeish =Sysop= 76711,643
  8920. To: Woody Splawn 73627,3541 (X)
  8921.  
  8922. You can only abort an event by setting the errorCode to a nonzero value when
  8923. you are INSIDE the event.  Hence,
  8924.  
  8925. eventInfo.setErrorCode( 1 )
  8926. insertRecord
  8927.  
  8928. certainly does not abort the insertRecord.  It aborts whatever built-in event
  8929. you placed the setErrorCode command into.  Also, some events, if they are
  8930. going to execute, HAVE to execute on their parent objects.  You cannot insert
  8931. a record to a field and not have it happen to the MRO as well, they are tied
  8932. together.  The form will always see it first since it has to decide where to
  8933. send it.
  8934.  
  8935. Tarik
  8936.  
  8937. #: 33679 S11/Using ObjectPAL
  8938.     07-Jun-93  21:00:00
  8939. Sb: #33472-Can you prevent Bubbling
  8940. Fm: Mike Irwin/Co-Assist 100114,1437
  8941. To: Woody Splawn 73627,3541 (X)
  8942.  
  8943. Woody,
  8944.  
  8945. you may or may not get bubble-up, depending on the action. In general, if you
  8946. want to consume an event, add "disableDefault" to your code. If the event
  8947. doesn't bubble then nothing will change in that respect; if it does bubble
  8948. then it's the default code (that you can't "see") that does the bubbling, so
  8949. ...)
  8950.  
  8951. hope this helps
  8952.  
  8953. Goodnight !
  8954.  
  8955. Mike
  8956.  
  8957. #: 33475 S11/Using ObjectPAL
  8958.     07-Jun-93  12:25:38
  8959. Sb: #Lock-Ups - TCursors?
  8960. Fm: Marc Zev 70610,615
  8961. To: All
  8962.  
  8963. I am having serious lock-up problems in my application.  I haven't pinned down
  8964. all the possiblities yet but I am beginning to strongly suspect TCursors.
  8965.  
  8966. Am I alone in this or can someone else shed some possible light on me.
  8967.  
  8968. * Reply:  33680
  8969.  
  8970. #: 33680 S11/Using ObjectPAL
  8971.     07-Jun-93  21:00:05
  8972. Sb: #33475-#Lock-Ups - TCursors?
  8973. Fm: Mike Irwin/Co-Assist 100114,1437
  8974. To: Marc Zev 70610,615 (X)
  8975.  
  8976. Marc,
  8977.  
  8978. the easiest way to get a lock-up is to try to post a duplicate-key record; P4W
  8979. seems often just to refuse to let you out of a record without saying why!
  8980.  
  8981. <Ctrl><Break> a few times often gets you out again !.
  8982.  
  8983. Hope this helps some
  8984.  
  8985. Mike
  8986.  
  8987. * Reply:  33810
  8988.  
  8989. #: 33810 S11/Using ObjectPAL
  8990.     08-Jun-93  11:09:49
  8991. Sb: #33680-#Lock-Ups - TCursors?
  8992. Fm: Tarik Ghbeish =Sysop= 76711,643
  8993. To: Mike Irwin/Co-Assist 100114,1437 (X)
  8994.  
  8995. Paradox will return an errorCode if you have a keyViolation.  Make sure you
  8996. are checking the errorStack or non-zero errors to avoid these types of
  8997. problems.  Perhaps you'll want code somewhat like this :
  8998.  
  8999. if eventInfo.errorCode <> 0 then
  9000.         errorShow()
  9001. endIf
  9002.  
  9003. or even without the eventInfo since you are working with TCursors.
  9004.  
  9005. Tarik
  9006.  
  9007. #: 33478 S9/Learning ObjectPAL
  9008.     07-Jun-93  12:31:28
  9009. Sb: objectpal
  9010. Fm: Pat Casey 100041,714
  9011. To: all
  9012.  
  9013. TO: All From: Pat Casey 100041,714
  9014.  
  9015. If you have a field say "Lastname" bound to a table and you attach the code :
  9016. Action(var eventinfo actionevent) if eventinfo.id()=dataendedit then
  9017.         try
  9018.         dodefault       ; try to end edit
  9019.         onfail  ; can't end edit because will cause a key violation
  9020.         fail()  ; to trigger built in error method for this object
  9021.         endtry endif
  9022.  
  9023. to the action method for that object.Now If you enter a value in that field
  9024. which is going to cause a key violation error,and you try to end edit by say
  9025. pressing F9, will this cause the built in error method to execute where you
  9026. can check if the eventinfo.errorcode()=peKeyViol and pop up an appropriate
  9027. message.
  9028.  
  9029. Thanks Pat
  9030.  
  9031. #: 33483 S9/Learning ObjectPAL
  9032.     07-Jun-93  12:45:59
  9033. Sb: #Objectpal
  9034. Fm: Pat Casey 100041,714
  9035. To: David Ellis 72240,370 (X)
  9036.  
  9037. TO:  David Ellis 72240,370 From: Pat Casey 100041,714
  9038.  
  9039. David, Thanks - that way for passing a variable works great.
  9040.  
  9041. I put this on compuserve earlier but you might want to take a look. Have a
  9042. look at this and see what you think.
  9043.  
  9044. If you have a field say "Lastname" bound to a table and you attach the code :
  9045. Action(var eventinfo actionevent) if eventinfo.id()=dataendedit then
  9046.         try
  9047.         dodefault       ; try to end edit
  9048.         onfail  ; can't end edit because will cause a key violation
  9049.         fail()  ; to trigger built in error method for this object
  9050.         endtry endif
  9051.  
  9052. to the action method for that object.Now If you enter a value in that field
  9053. which is going to cause a key violation error,and you try to end edit by say
  9054. pressing F9, will this cause the built in error method to execute where you
  9055. can check if the eventinfo.errorcode()=peKeyViol and pop up an appropriate
  9056. message.
  9057.  
  9058. Thanks Pat
  9059.  
  9060. #: 33479 S5/Reports
  9061.     07-Jun-93  12:32:52
  9062. Sb: #Checkmarks on reports
  9063. Fm: Mark Chapman 71061,2220
  9064. To: All
  9065.  
  9066. My application involves an attendance tracking system which requires a
  9067. checkmark be placed to show an individual attended an event. How can my report
  9068. do this? My field structure includes a field for an individuals's ID# and one
  9069. field for each event to be tracked.
  9070.  
  9071. The report should look somewhat like this:
  9072.  
  9073. Name                   Event1          Event2 John Doe               checkmark
  9074. Sue Smith                              checkmark
  9075.  
  9076.  
  9077.  
  9078.  
  9079. Thanks very much! Mark
  9080.  
  9081. * Reply:  34103
  9082.  
  9083. #: 34103 S5/Reports
  9084.     09-Jun-93  12:52:57
  9085. Sb: #33479-Checkmarks on reports
  9086. Fm: Scott Arnett (Sysop) 76711,650
  9087. To: Mark Chapman 71061,2220
  9088.  
  9089. Mark-
  9090.  
  9091. Do you want to know how to get a checkmark, or how to mark a field based on
  9092. the value in the field.  To determine if a checkmark is needed use the IIF
  9093. function in a calculated field like this: IIF(condition,"Checkmark","").
  9094. Take a look at page 34 of the OPAL Reference.
  9095.  
  9096. -Scott
  9097.  
  9098. #: 33482 S11/Using ObjectPAL
  9099.     07-Jun-93  12:43:44
  9100. Sb: #formReturn()
  9101. Fm: Richard Wagner (TeamB) 71333,2031
  9102. To: Quinn Wildman 76703,3033
  9103.  
  9104. Quinn/All,
  9105.  
  9106. I am having inconsistent results with nested wait/formReturn statements. On
  9107. several apps, I have nested wait/formReturns with no problem. But on an app
  9108. I am working on now, Form A calls Form B who calls Form C. When the formReturn
  9109. of Form C executes, the wait from Form A takes control. The code is shown
  9110. below:
  9111.  
  9112. WAIT()
  9113.  
  9114. method pushButton(var eventInfo Event)
  9115.        var
  9116.                frm, cFrm       Form
  9117.                lID     string
  9118.        endVar
  9119.  
  9120.        cFrm.attach("Add People to Case")
  9121.        if frm.Open("loc") then
  9122.                cFrm.hide()
  9123.                lID = frm.wait()
  9124.                cFrm.Show()
  9125.                frm.close()
  9126.                if lID = "Null" then
  9127.                        Return
  9128.                endif
  9129.                Loc_ID.value = lID
  9130.        else
  9131.                msgInfo("Gallagher & Gallagher", "Unable to open Location
  9132. Lookup form.")
  9133.        endif
  9134. endmethod
  9135.  
  9136.  
  9137. FORMRETURN()
  9138.  
  9139. method pushButton(var eventInfo Event)
  9140.        formReturn(Loc_ID)
  9141. endmethod
  9142.  
  9143. * Reply:  33681
  9144.  
  9145. #: 33681 S11/Using ObjectPAL
  9146.     07-Jun-93  21:00:10
  9147. Sb: #33482-#formReturn()
  9148. Fm: Mike Irwin/Co-Assist 100114,1437
  9149. To: Richard Wagner (TeamB) 71333,2031 (X)
  9150.  
  9151. Richard,
  9152.  
  9153. I think something's gone wrong with my brain: I only understood half your code
  9154. ! Others have had problems with the same apparent symptoms. It _may_ be a real
  9155. problem - maybe an easy error to fall into. Personally I haven't seen it yet
  9156. (having said that, though ...<g>).
  9157.  
  9158. If you think I might be able to help, please e-mail me the form.
  9159.  
  9160. All the best
  9161.  
  9162. Mike
  9163.  
  9164. * Reply:  33740
  9165.  
  9166. #: 33740 S11/Using ObjectPAL
  9167.     08-Jun-93  01:01:09
  9168. Sb: #33681-#formReturn()
  9169. Fm: Richard Wagner (TeamB) 71333,2031
  9170. To: Mike Irwin/Co-Assist 100114,1437 (X)
  9171.  
  9172. Mike,
  9173.  
  9174. Thanks. I'll see if I can wrap something up and send it off to you. I cannot
  9175. understand what it going on. I have developed some 5-6 other apps with several
  9176. layers of nested wait/formReturns; this is the only one providing me trouble.
  9177.  
  9178.                                                Richard Wagner
  9179.  
  9180. * Reply:  33824
  9181.  
  9182. #: 33824 S11/Using ObjectPAL
  9183.     08-Jun-93  11:43:46
  9184. Sb: #33740-#formReturn()
  9185. Fm: Richard Wagner (TeamB) 71333,2031
  9186. To: Richard Wagner (TeamB) 71333,2031 (X)
  9187.  
  9188. Mike/Quinn,
  9189.  
  9190. I did some testing and I found that if I added a msgInfo statement after
  9191. wait(), the code works (i.e., the nested form does not close). (See the code
  9192. below.) Any ideas?
  9193.  
  9194.         var
  9195.                 frm, cFrm       Form
  9196.                 cID     string
  9197.         endVar
  9198.  
  9199.         cFrm.attach("G Case")
  9200.         if frm.Open("court") then
  9201.                 cFrm.hide()
  9202.                 cID = frm.wait()
  9203.                 msgInfo(" ", "end Case wait")     ; <-- This line eliminates
  9204.                 cFrm.Show()             ;       the problem.
  9205.                 frm.close()
  9206.                 if cID = "Null" then
  9207.                         Return
  9208.                 endif
  9209.                 Court_ID.value = cID
  9210.         else
  9211.                 msgInfo("G", "Unable to open Court Lookup form.")
  9212.         endif
  9213.  
  9214. Thanks,
  9215.  
  9216. Richard Wagner
  9217.  
  9218. * Reply:  34205
  9219.  
  9220. #: 34205 S11/Using ObjectPAL
  9221.     09-Jun-93  18:30:16
  9222. Sb: #33824-#formReturn()
  9223. Fm: Tarik Ghbeish =Sysop= 76711,643
  9224. To: Richard Wagner (TeamB) 71333,2031 (X)
  9225.  
  9226. Insert a sleep() in place of the msgInfo.  It will cause Paradox to yield and
  9227. give the return time to finish executing before Paradox gets to the next
  9228. command.  The message is getting to the wrong window because of the priority
  9229. different events take in the Windows event queue.  No big deal, it just
  9230. requires a judicious addition of a sleep to force Paradox to yield to Windows
  9231. momemtarily.  Experiment with no value to several seconds to see how it works.
  9232.  
  9233. Tarik
  9234.  
  9235. * Reply:  34270
  9236.  
  9237. #: 34270 S11/Using ObjectPAL
  9238.     09-Jun-93  22:25:18
  9239. Sb: #34205-formReturn()
  9240. Fm: Richard Wagner (TeamB) 71333,2031
  9241. To: Tarik Ghbeish =Sysop= 76711,643
  9242.  
  9243. Tarik,
  9244.  
  9245. I tried using sleep() with no success. I tried "sleep()" to "sleep(20000)".
  9246. Each time I was brought back to the first wait(). The only way I could get
  9247. around this is using a msgInfo command.
  9248.  
  9249. Also, let me once again state that I have several other apps that have some 5
  9250. nested wait() statements, which work fine. It is just this one that is driving
  9251. me crazy.
  9252.  
  9253. Any ideas? Thanks for your help!
  9254.  
  9255.                                                Richard Wagner
  9256.  
  9257. #: 33485 S4/Forms
  9258.     07-Jun-93  13:00:20
  9259. Sb: #Novice Questions
  9260. Fm: Ross Wheeler 70531,246
  9261. To: sysop (X)
  9262.  
  9263. I am new to Paradox for Windows and have some basic questions.
  9264.  
  9265. 1.  In the forms design mode, I want to select (and align) several fields at
  9266. once (not all of them).  How do I do this?  In Borland's C++ RW it is simple a
  9267. matter of drawing a selection box around the elements.  Is this mode available
  9268. somewhere?
  9269.  
  9270. 2.  I am running Windows for Workgroups and according to MS I don't need to
  9271. run share (it is purportedly built in).  But by not running share, I run into
  9272. problems regarding tables being opened etc.  Do I need to run share under WFW?
  9273.  
  9274. 3.  I copied a form and want it to use a different underlying table.  I get a
  9275. message saying that I can't do this (cannot rebind?).  Is there a way?
  9276.  
  9277. 4.  I am using some linked tables and want to display information in the other
  9278. forms using the linked table fields.  In the child forms, I want the
  9279. information entered in the parent form but displayed read-only in the child
  9280. form.  How can I do this?
  9281.  
  9282. Thanks,
  9283.  
  9284. Ross
  9285.  
  9286. * Reply:  33489
  9287.  
  9288. #: 33489 S4/Forms
  9289.     07-Jun-93  13:14:09
  9290. Sb: #33485-#Novice Questions
  9291. Fm: Richard Wagner (TeamB) 71333,2031
  9292. To: Ross Wheeler 70531,246 (X)
  9293.  
  9294. Ross,
  9295.  
  9296. (1) Ctrl key it! Click each object while holding down the Ctrl key. Or, draw
  9297. an imaginary rectangle around a group of objects with your mouse while holding
  9298. down the Ctrl key.
  9299.  
  9300. (3) Go into the Data Model and remove the original table. Then replace with
  9301. another table.
  9302.  
  9303.                                                Richard Wagner
  9304.  
  9305. #: 33491 S1/Miscellaneous
  9306.     07-Jun-93  13:22:12
  9307. Sb: Importing files / OPAL
  9308. Fm: Dan Patterson 74150,2042
  9309. To: BORLAND
  9310.  
  9311. I'm very disappointed that there is no simple OPAL equivalent for importing an
  9312. ASCII or other file (as in FILE / UTILITIES / IMPORT).  Using TextStream is
  9313. cumbersome and results in a much slower import process.  What gives, BORLAND?
  9314. You should be able to do this in a method when needed to package an
  9315. application.
  9316.  
  9317. #: 33494 S5/Reports
  9318.     07-Jun-93  13:24:53
  9319. Sb: #33408-#Mailing Labels are hard!
  9320. Fm: Ken Merson -Sysop- 76117,3146
  9321. To: Maurice Thaler 70740,2725 (X)
  9322.  
  9323. For whatever reason, and as you say, brand-specific design tools were not
  9324. included in the core of Paradox for Windows.  However, Borland does address
  9325. your specific request in another fashion.
  9326.  
  9327. Borland's QuickStart Labels is a package of pre-designed labels for 13 Avery
  9328. Labels/cards. Common mailing label, name badge, and rotary card layouts are
  9329. included.
  9330.  
  9331. I don't know what current prices are, but the list price for QuickStart Labels
  9332. is 49.95.  If this product is not available from your vendor, call the borland
  9333. order desk at 800-331-0877 for current prices and availability.
  9334.  
  9335. Hoping to help,
  9336.  
  9337. ken merson :^,
  9338.  
  9339. * Reply:  33743
  9340.  
  9341. #: 33743 S5/Reports
  9342.     08-Jun-93  01:17:06
  9343. Sb: #33494-#Mailing Labels are hard!
  9344. Fm: Maurice Thaler 70740,2725
  9345. To: Ken Merson -Sysop- 76117,3146 (X)
  9346.  
  9347. I must say that seems really outrageous. Considering the pricing of today's
  9348. products
  9349. ACCESS $99
  9350. Alpha4    $99
  9351. Paradox  $139 (or $99 if you buy with QPRO)
  9352.  
  9353. It seems amazing that one should have to pay HALF the price of the product for
  9354. a capability that
  9355. is BUILT IN to all the other databases. Supporting a "BRAND SPECIFIC" label is
  9356. not favoritism,
  9357. it is just good bussiness sense. Word Perfect has been doing that since WP5.1
  9358. for DOS came
  9359. out (actually they have macros for AVERY and 3M labels as well.... I am sure
  9360. nobody would
  9361. complain if Borland went one farther and support AVERY, 3M & Quill!!!)
  9362.  
  9363.  
  9364. Oh, well.   I am one of the users that grew up with Turbo Pascal for CP/M, the
  9365. first reasonably priced compiler by any company. Now Borland is selling a
  9366. label add on for the same price as their flagship compiler!
  9367.  
  9368. Sigh.
  9369.  
  9370. * Reply:  33880
  9371.  
  9372. #: 33880 S5/Reports
  9373.     08-Jun-93  15:06:09
  9374. Sb: #33743-Mailing Labels are hard!
  9375. Fm: Ken Merson -Sysop- 76117,3146
  9376. To: Maurice Thaler 70740,2725 (X)
  9377.  
  9378. I'll certainly pass your thoughts along to product management - I don't
  9379. disagree that it would be good to have included the functionality you
  9380. describe. I just wanted you to be aware of the options that are currently
  9381. available from Borland.
  9382.  
  9383. And, at the risk of extending this conversation farther than you want... at
  9384. this time, the list price of Pdoxwin is still $795.00 - against which the
  9385. $49.00 makes sense.
  9386.  
  9387. These are strange times in the software industry. <g>
  9388.  
  9389. I will make sure your objections are heard by Product Management.
  9390.  
  9391. Ken Merson
  9392. Paradox Technical Support
  9393.  
  9394. #: 33495 S5/Reports
  9395.     07-Jun-93  13:24:57
  9396. Sb: #33444-Previous request
  9397. Fm: Ken Merson -Sysop- 76117,3146
  9398. To: Dean  Bradley 72123,661 (X)
  9399.  
  9400. Found your message- sorry about the delay.
  9401. >>The problem is that there is a pagebreak (normal, not induced)
  9402. after the label of the group at a certain point, with the result that
  9403. the group label prints at the bottom of the page by its lonely ol' self
  9404. and looks pitiful down there.  The group headings reappear at the
  9405. top of the next page, as I want them to.
  9406.  
  9407. >>I have selected the Group Band and toggled the Run
  9408. Time|Breakable choice.  I also tried drawing a box around the
  9409. group label and the record band.  I'm sure I've tried a couple
  9410. of other things.  None have worked.
  9411.  
  9412. There is not a direct way to make sure the group header will  not print at the
  9413. bottom-- the breakable property pertains to the header object itself, not the
  9414. group as a whole.  Some suggested workarounds have been
  9415.  
  9416. to not use the header to display the information, but put it in the all
  9417. records band
  9418.  or
  9419. reducing the amount of whitespace available within the report design - therby
  9420. reducing the number of opportunities to break the group up.
  9421.  
  9422. Though it's clear we dropped the ball in answering your question here - and
  9423. for this I appologise again, you might consider posting your next question to
  9424. "All" - this opens up the field of possible answers to anyone willing to
  9425. contribute their advice.
  9426.  
  9427. hoping to help,
  9428.  
  9429. ken merson :^,
  9430.  
  9431. #: 33499 S10/ObjectPAL Environ.
  9432.     07-Jun-93  13:29:49
  9433. Sb: #32996-# 1 Form Closing Another?
  9434. Fm: Woody Splawn 73627,3541
  9435. To: Bill Todd (Kallista) 75046,1345 (X)
  9436.  
  9437. <<Try the following:
  9438.  
  9439. f.attach("formTitle") f.close() sleep() >>
  9440.  
  9441.  
  9442. Bill,
  9443.  
  9444.        Could you explain the sleep() command?  In my own apps I sometimes get
  9445. an error of answer table already in use.  When I have put in something like
  9446. sleep(3000) it has stopped.  Would sleep() do?  If so, why?
  9447.  
  9448. Woody
  9449.  
  9450. * Reply:  33692
  9451.  
  9452. #: 33692 S10/ObjectPAL Environ.
  9453.     07-Jun-93  21:24:31
  9454. Sb: #33499- 1 Form Closing Another?
  9455. Fm: Bill Todd (Kallista) 75046,1345
  9456. To: Woody Splawn 73627,3541 (X)
  9457.  
  9458. Read the explanation of the sleep command in the OPAL reference and you will
  9459. know as much as I do.  When Paradox asks Windows to do something there are two
  9460. ways to do it which I think are called Posting a message and Sending a
  9461. message.  If you Post a message it goes into Windows event queue to be
  9462. processed.  Doing a sleep() causes Paradox to do a Yield, that is, give up its
  9463. time slice so Windows can service the event queue and get whatever is there
  9464. done.
  9465.  
  9466. Bill
  9467.  
  9468. #: 33500 S11/Using ObjectPAL
  9469.     07-Jun-93  13:29:54
  9470. Sb: #32938-Info on GPFs
  9471. Fm: Woody Splawn 73627,3541
  9472. To: John H. Klassen 72212,513
  9473.  
  9474. John,
  9475.        I have also been told that if you have over 2,000 lines of code (about)
  9476. you run the risk of a corrupt form.  It is difficult to determines when you
  9477. are at the 64k or 2,000 line limit.  wrt 2,000 lines, if you enumerate the
  9478. form and you have 35 pages of code and figure about 60 lines per page, you
  9479. know you are over.  However, my pages have a lot of white space in them.  How
  9480. do you figure for white space?  Anyone?
  9481.  
  9482. Woody
  9483.  
  9484. #: 33505 S11/Using ObjectPAL
  9485.     07-Jun-93  13:34:13
  9486. Sb: #33243-Return of .view()
  9487. Fm: Marc Zev 70610,615
  9488. To: Martin 100270,3472 (X)
  9489.  
  9490. My method for avoiding opening extra forms is to create a box on the form
  9491. which looks like a dialog (meaning it has buttons and fields and everything
  9492. you might need) then setting dlgBox.Visible = False.  then when the condition
  9493. occurrs such that you need the dialog you just make the box visible.  I also
  9494. reset the position of the box before making it visible because I tend to move
  9495. the box around in design mode a lot.
  9496.  
  9497. I chose this method to get around the problem of not being able to pass
  9498. variable TO forms.
  9499.  
  9500. Hope this helps.
  9501.                       -Marc
  9502.  
  9503. #: 33506 S11/Using ObjectPAL
  9504.     07-Jun-93  13:34:17
  9505. Sb: #33417-#Stepping thru Records
  9506. Fm: Marc Zev 70610,615
  9507. To: GARY HANDLEY 100271,1164 (X)
  9508.  
  9509. Try this:
  9510.  
  9511. var
  9512.    tcDetail TCursor
  9513.    recSave DynArray[] AnyType
  9514.    fld  AnyType
  9515.    Colors  Array[] AnyType Endvar
  9516.  
  9517. tcDetail.open() ; I'll leave to details of the open to you.
  9518.  
  9519. Colors[1] = Green      ; Assign the colors in this Colors[2] = Whatever   ;
  9520. array
  9521.  ...
  9522.  
  9523. scan tcDetail :
  9524.      tcDetail.CopyToArray(recSave)
  9525.      ForEach fld IN recSave
  9526.         fieldName.font.color = Colors[NumVal(fld.Substr(3,1)]
  9527.      EndForEach EndScan
  9528.  
  9529. tcDetail.Close()
  9530.  
  9531. This should work and be noticably faster.
  9532.  
  9533. -Marc
  9534.  
  9535. * Reply:  33545
  9536.  
  9537. #: 33545 S11/Using ObjectPAL
  9538.     07-Jun-93  14:14:16
  9539. Sb: #33506-#Stepping thru Records
  9540. Fm: GARY HANDLEY 100271,1164
  9541. To: Marc Zev 70610,615 (X)
  9542.  
  9543. Mark,
  9544.  
  9545. That was one wiz bit of code! Thanks a million. One little problem with it,
  9546.  
  9547.  ForEach fld IN recSave
  9548.   fieldName.font.color = Colours[NumVal(fld.substr(3,1))]
  9549.  EndForEach
  9550.  
  9551. Is there any way to make the "fieldName" generic? Or do I have to name the 40
  9552. fields. The field names are,
  9553.  
  9554.  F01un, F02un, etc up to F20un and,
  9555.  F01ov, F02ov, etc up to F20ov.
  9556.  
  9557. I appreciate your time, thanks,
  9558.  
  9559. Gary.
  9560. London
  9561.  
  9562. * Replies:  33798, 33807
  9563.  
  9564. #: 33798 S11/Using ObjectPAL
  9565.     08-Jun-93  10:23:44
  9566. Sb: #33545-Stepping thru Records
  9567. Fm: Marc Zev 70610,615
  9568. To: GARY HANDLEY 100271,1164
  9569.  
  9570.  I'm not exactly sure.  My gut says you should be able to because the value
  9571.  of the variable fld is the Fieldname.  On the otherhand I don't quite know
  9572.  how to use it because fld.font.color will NOT work.  I will look into it
  9573.  because it seems like that ability will come in handy.
  9574.  
  9575. -Marc
  9576.  
  9577. #: 33807 S11/Using ObjectPAL
  9578.     08-Jun-93  11:04:08
  9579. Sb: #33545-Stepping thru Records
  9580. Fm: Tarik Ghbeish =Sysop= 76711,643
  9581. To: GARY HANDLEY 100271,1164
  9582.  
  9583. >>Is there any way to make the "fieldName" generic? Or do I have to name the
  9584. 40 fields.
  9585.  
  9586. This isn't complete, but I think you'll get the idea.  You could use a for
  9587. loop to refer to the fieldNames :
  9588.  
  9589. for x from 1 to 20
  9590.    if x.size() = 1 then
  9591.       y = "F0" + strVal( x ) + "un"
  9592.    else
  9593.       y = "F" + strVal( x ) + "un"
  9594.    endIf
  9595.    ComtainerName.(y).font.color =  Colours[NumVal(fld.substr(3,1))]
  9596. endFor
  9597.  
  9598. Tarik
  9599.  
  9600. #: 33513 S11/Using ObjectPAL
  9601.     07-Jun-93  13:35:48
  9602. Sb: #33348-#Printing Forms
  9603. Fm: Tarik Ghbeish =Sysop= 76711,643
  9604. To: Don Cook 73405,56 (X)
  9605.  
  9606. Yes.  You may also want to add a form handle if you are on another form other
  9607. than the one you want to print.  But action( DataPrint ) will print out the
  9608. current form if you invoke it from a button or hotkey.
  9609.  
  9610. Tarik
  9611.  
  9612. * Reply:  33783
  9613.  
  9614. #: 33783 S11/Using ObjectPAL
  9615.     08-Jun-93  09:48:33
  9616. Sb: #33513-#Printing Forms
  9617. Fm: Don Cook 73405,56
  9618. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  9619.  
  9620. Thanks, Tarik!  That worked fine, but raised two more questions:
  9621.  
  9622. 1.  How do I keep the "PRINT FILE" dialog box from popping up.  I want to
  9623. print out a series of the same form (filled with the results of a query)
  9624. without having the user respond to the "PRINT FILE" dialog box each time the
  9625. scan form prints.  The user fills a control table with the list of items which
  9626. he wants this form printed out for.  The script then scans the control table,
  9627. performs the query (as well as some other calculations on the resultant answer
  9628. table), fills another table (the one the form is based on) from the answer
  9629. table, and prints out the form.
  9630.  
  9631. 2.  Also, how do I change the orientation of the printer from PORTRAIT to
  9632. LANDSCAPE and back from within a script.  I found the REPORT print method on
  9633. page 364 of the ObjectPAL Reference manual and the reference to
  9634. ReportPrintInfo records, but cannot find a further definition of the
  9635. ReportOrientation constant.  Besides, the ReportPrintInfo record applies to
  9636. reports and not to forms.
  9637.  
  9638. Thanks again for your assistance - I'm going to learning ObjectPAL if it kills
  9639. me!!  So far it's just caused a few sleepless nights!!
  9640.  
  9641. Don
  9642.  
  9643. * Reply:  33888
  9644.  
  9645. #: 33888 S11/Using ObjectPAL
  9646.     08-Jun-93  15:12:15
  9647. Sb: #33783-Printing Forms
  9648. Fm: Tarik Ghbeish =Sysop= 76711,643
  9649. To: Don Cook 73405,56 (X)
  9650.  
  9651. >>1.  How do I keep the "PRINT FILE" dialog box from popping up.
  9652.  
  9653. You don't, unless you use a report.  Printing forms causes the display of this
  9654. dialog box.
  9655.  
  9656. >>2.  Also, how do I change the orientation of the printer from PORTRAIT to
  9657. LANDSCAPE
  9658.  
  9659. Once again, you cannot really change this unless you design a report.  You can
  9660. change the form from designed for screen to designed for printer
  9661. interactively, but you can then only toggle to one or the other interactively,
  9662.  not through OPAL control.
  9663.  
  9664. It sounds as though you're going to have to design a report to do this stuff
  9665. for you.
  9666.  
  9667. Tarik
  9668.  
  9669. #: 33515 S11/Using ObjectPAL
  9670.     07-Jun-93  13:35:53
  9671. Sb: #33279-#Disappearing Cursor
  9672. Fm: Tarik Ghbeish =Sysop= 76711,643
  9673. To: Elizabeth Langford Peck 72550,3565 (X)
  9674.  
  9675. Elizabeth, the problem, in part is the sequence.  You have an arrive that is
  9676. going to happen after all the code on the open.  That arrive is interfering
  9677. with your own moveTo code.  Try moving your code to the arrive.
  9678.  
  9679. Tarik
  9680.  
  9681. * Reply:  33628
  9682.  
  9683. #: 33628 S11/Using ObjectPAL
  9684.     07-Jun-93  19:47:33
  9685. Sb: #33515-#Disappearing Cursor
  9686. Fm: Elizabeth Langford Peck 72550,3565
  9687. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  9688.  
  9689. Actually, with further experimentation I found that if I did the moveto, then
  9690. entered persistent field view, the cursor did not disappear.  If I run into
  9691. further problems I'll try it your way. Thanks, Elizabeth.
  9692.  
  9693. #: 33518 S11/Using ObjectPAL
  9694.     07-Jun-93  13:36:01
  9695. Sb: #33307-#DDE dependent form.close
  9696. Fm: Tarik Ghbeish =Sysop= 76711,643
  9697. To: STEVE STIGGE 75330,1424 (X)
  9698.  
  9699. You need to resolve the error first.  A form will not close when there is a
  9700. nonzero error code, the only time an error can be fired off.  Set the
  9701. errorcode to 0 and the call close().
  9702.  
  9703. Tarik
  9704.  
  9705. #: 33532 S2/Install/CFG/HrdWare
  9706.     07-Jun-93  13:36:37
  9707. Sb: #32985-#Pdoxwin Configuration
  9708. Fm: Tarik Ghbeish =Sysop= 76711,643
  9709. To: Steve Medley 100026,1077 (X)
  9710.  
  9711. I suspect that you are using a high res video driver, no?  High res video
  9712. drivers use much more memory then the standard Windows video drivers.  Our
  9713. estimates in the manuals assume the standard drivers.  I've known drivers to
  9714. use as much as 1.5 MB depending on the driver and the mode the video card is
  9715. running in.  Always update to the latest drivers whenever they come out.
  9716. Usually they fix a lot of problems (you may or may not be running into) and
  9717. they generally have performance enhancements.
  9718.  
  9719. Also, when evaluating available memory under Windows (for the purpose of
  9720. setting the buffers) ignore any Virtual Memory that may be adding to your
  9721. Windows available memory.  You'll just be swapping back to disk by using
  9722. virtual memory, and you're probably much better off allowing Paradox to read
  9723. it's tables of disk with it's own buffering and caching scheme instead.  Hence
  9724. the lower numbers in your case.
  9725.  
  9726. Tarik
  9727.  
  9728. #: 33548 S1/Miscellaneous
  9729.     07-Jun-93  14:22:44
  9730. Sb: #33219-Optimum performance..
  9731. Fm: Steve Neverve (Sysop) 71333,114
  9732. To: Mussie Gebregziabiher 76420,346
  9733.  
  9734. Mussie,
  9735.  
  9736. This can be a difficult question.  First, you should have AT LEAST 8MB of
  9737. RAM.  You may want to have as much as 12-16.  Second, do not load any memory
  9738. resident programs.  Third, make sure you have as many things loaded high as
  9739. possible.  Finally, you should take a look at TI1281.ASC.  This was
  9740. developed for a 4MB machine but it may help you.
  9741.  
  9742. Steve
  9743.  
  9744. #: 33550 S1/Miscellaneous
  9745.     07-Jun-93  14:22:56
  9746. Sb: #33266-#Referential Integrity
  9747. Fm: Steve Neverve (Sysop) 71333,114
  9748. To: Tony Bolda 100015,3577 (X)
  9749.  
  9750. Tony,
  9751.  
  9752. If you have created referential integrity on a field, you can only enter in
  9753. a value for this field that exists in a specified field in a specified
  9754. table.  If you have the setup below, then you can only enter in A, B, or C
  9755. in the child table, the table with refer. integ.
  9756.  
  9757. PARRENT.DB                             CHILD.DB
  9758.   TEST                                   TEST
  9759.    A
  9760.    B
  9761.    C
  9762.  
  9763. If you try to put anything in Child.DB except for A, B, or C, you will get a
  9764. key violation. Also, the parrent table must have a keyed field (TEST) and
  9765. they must be structured the same ie; both fields need to be the same like
  9766. AlphaNumeric 10, AlphaNumeric 20, or Numeric.
  9767.  
  9768. If you did not see the diagram on page 304, Chapter 9, this may
  9769. help also.
  9770.  
  9771. Steve
  9772.  
  9773. #: 33562 S9/Learning ObjectPAL
  9774.     07-Jun-93  15:00:59
  9775. Sb: #TCursor.setfilter
  9776. Fm: Joerg von Kirschbaum 100271,2271
  9777. To: all
  9778.  
  9779. Hello all,
  9780.  
  9781. I'm new to OPAL. I've a little experience in programming PAL. This is my
  9782. problem:
  9783.  
  9784. It exists a Table with four fields (Cust#,Year,Month,AmountPaid).
  9785.  
  9786. How con PdoxWin compute the cSum of all amountPaid in a given year and month
  9787. without respect to Cust#?
  9788.  
  9789. How can PdoxWin find the value of Customers paid amount of a certain year and
  9790. month, without using a query?
  9791.  
  9792. Is TCursor.setfilter the approprate solution? I simply failed to understand
  9793. the use of setfilter in the manual. The example wasn't of much help too.
  9794.  
  9795. Thanks for helping
  9796.  
  9797. Joerg
  9798.  
  9799. * Reply:  33747
  9800.  
  9801. #: 33747 S9/Learning ObjectPAL
  9802.     08-Jun-93  01:53:25
  9803. Sb: #33562-TCursor.setfilter
  9804. Fm: Randy Sell (Sysop) 75300,2147
  9805. To: Joerg von Kirschbaum 100271,2271 (X)
  9806.  
  9807. Joerg-
  9808.  
  9809. >>How con PdoxWin compute the cSum of all amountPaid in a given year and month
  9810. without respect to Cust#?
  9811.  
  9812. SetFilter on YEAR and MONTH fields
  9813.  
  9814. >>How can PdoxWin find the value of Customers paid amount of a certain year
  9815. and month, without using a query?
  9816.  
  9817. SetFilter on Customer_ID, YEAR and MONTH fields
  9818.  
  9819. You have the right idea to use a tCursor (with a setFilter) in both of these
  9820. cases.  Note-  when setting a filter on a field(s) you need to have a
  9821. secondary index on the field(s).  For a working example, take a look at
  9822. message #33561.
  9823.  
  9824. BTW-  These can also be done in a query, or generated directly in a report.
  9825.  
  9826. Randy sell
  9827. PDW Technical Support
  9828.  
  9829. #: 33563 S4/Forms
  9830.     07-Jun-93  15:04:20
  9831. Sb: #33026-Unlinked fields
  9832. Fm: Rick Fillman (Sysop) 76702,273
  9833. To: Mike Gee 100047,123 (X)
  9834.  
  9835.  > I am having trouble with un-linked fields on a form when I want
  9836.  > to use them for date entry. They appear to be treated as MEMO
  9837.  > fileds even tho' I have defined / designated a data format for
  9838.  > the field.
  9839.  
  9840. You may specify a Date format.  This, however, does not determine
  9841. the field's type (as far as data entry is concerned.  Accept the
  9842. user's input, and then process it.  Via OPal, "cast" the data as
  9843. DATE type, and assign the result back to the object.  Now, your
  9844. date-type result will obey the date display format that you have
  9845. established.
  9846.  
  9847.      Rick Fillman, Tech Support (Borland)
  9848.  
  9849. #: 33600 S4/Forms
  9850.     07-Jun-93  16:16:57
  9851. Sb: #33141-#Unlinked fields
  9852. Fm: Mike Gee 100047,123
  9853. To: Bill Todd (Kallista) 75046,1345 (X)
  9854.  
  9855. I am trying to ensure that the data entered is re-displayed in a custom date
  9856. format. We are re writing an ObjectVision system and OV allows you to define a
  9857. format and automatically redisplays the data in that format and I was hoping
  9858. that this would happen in a P4W form.
  9859.  
  9860. * Reply:  33693
  9861.  
  9862. #: 33693 S4/Forms
  9863.     07-Jun-93  21:24:38
  9864. Sb: #33600-Unlinked fields
  9865. Fm: Bill Todd (Kallista) 75046,1345
  9866. To: Mike Gee 100047,123 (X)
  9867.  
  9868. Unfortunately no.  I think what you will have to do is put some code in the
  9869. changeValue event to doDefault then format the data the way you want it and
  9870. assign the formatted value back to the field to change the display.
  9871.  
  9872. Bill
  9873.  
  9874. #: 33567 S4/Forms
  9875.     07-Jun-93  15:04:40
  9876. Sb: #33240-VERTICAL TEXT
  9877. Fm: Rick Fillman (Sysop) 76702,273
  9878. To: Quentin McGown 71005,463 (X)
  9879.  
  9880.  > Is there any way to create vertical text in forms and reports?
  9881.  
  9882. I don't know of a way to do this.
  9883.  
  9884.      Rick Fillman, Tech Support (Borland)
  9885.  
  9886. #: 33568 S4/Forms
  9887.     07-Jun-93  15:04:45
  9888. Sb: #33244-Detl Display not complet
  9889. Fm: Rick Fillman (Sysop) 76702,273
  9890. To: Martin 100270,3472 (X)
  9891.  
  9892.  > The Search Symbol does not work because this
  9893.  > only search in the machines of the current customer.
  9894.  
  9895. Right.  Tc.Attach will respect the current Restricted view.
  9896. I think you should do custTC.Open("CustTabl.DB") instead.  Now the tCursor
  9897. will "see" all records, and thus, your locate will work against all records
  9898. in the table.
  9899.  
  9900.  > (i.e. display the customer but no machines;
  9901.  > I then have to skip manually to the next
  9902.  > customer and back, then I can see the machines).
  9903.  
  9904. To avoid the above situation, perform tc.Home() just prior to tc.locate.
  9905.  
  9906. Hope this helps.
  9907.  
  9908.      Rick Fillman, Tech Support (Borland)
  9909.  
  9910. #: 33959 S4/Forms
  9911.     08-Jun-93  19:11:10
  9912. Sb: #33244-Detl Display not complet
  9913. Fm: Kenneth Sole 72113,3517
  9914. To: Martin 100270,3472 (X)
  9915.  
  9916. >The problem: This routine sometimes works (i.e. display the customer
  9917. >and his machines) and sometimes not (i.e. display the customerbut no
  9918. >machines; I then have to skip manually to the next customer and back,
  9919. >then I can see themachines).
  9920.  
  9921. Hi Martin, no expert I, but I believe that your problem has little or
  9922. nothing to do with your OPAL code.  I often have the same problem working
  9923. interactively.  I have been advised that the difficulty may occur when
  9924. using locate routines that search the DB in other than key sort order.
  9925. That is, assuming an alphabetical sort, if you are working with a record
  9926. that starts with the letter "A" and then search for one that starts with
  9927. "Z", alll the detail tables will look fine.  If, on the other hand, you
  9928. are viewing a record that starts with "Z", and then you attempt to use
  9929. locate to find one that starts with 'A"... ooops!, blank detail fields!
  9930. Now, are you ready for the suggestion that I was given?  Stick some OPAL
  9931. code on the form to go to the "top" of the BD before you do the search!!
  9932. Elegant huh??  I have not had a spare minute to try it, but it should
  9933. work.  Please let me know if this solves your problem.
  9934. Take care,
  9935. Kenneth
  9936.  
  9937. #: 33569 S4/Forms
  9938.     07-Jun-93  15:04:50
  9939. Sb: #33337-#View ? ? ?
  9940. Fm: Rick Fillman (Sysop) 76702,273
  9941. To: Dale L. Pittock 71214,615 (X)
  9942.  
  9943.  > cancel will return the old initalized variable value
  9944.  > (kinda like you had never typed at all)
  9945.  
  9946. Right.  Pressing cancel "Cancels" your changes.  The value revert back.
  9947. Thus, there is definitely a functional difference.  However, OPal
  9948. (apparently) doesn't give us a way of "knowing" which was pressed.
  9949.  
  9950.      Rick Fillman, Tech Support (Borland)
  9951.  
  9952. #: 33570 S4/Forms
  9953.     07-Jun-93  15:04:56
  9954. Sb: #33354-Multi-Form Communication
  9955. Fm: Rick Fillman (Sysop) 76702,273
  9956. To: Alan Deikman 70541,507 (X)
  9957.  
  9958.  > bring up a dialog box which edits all the detail
  9959.  
  9960. This is a very commonly asked question.  Fortunately, the
  9961. solution is farily direct, and involves two lines of code.
  9962.  
  9963. ; --- assume a tCursor variable, and a form variable
  9964. ;     first get the tCursor pointer to point to the "current record"
  9965.  
  9966. tc.attach(ui_Object_in_first_form)
  9967.  
  9968. ; --- here you have your f.open statement
  9969. ;     where f is a form variable
  9970.  
  9971. ; --- last, we cause the display object in the second form to position
  9972. ;     it's pointer with the tCursor pointer as follows:
  9973.  
  9974. f.Object_in_Second_Form.resync(tc)
  9975.  
  9976. That's all.
  9977.  
  9978.      Rick Fillman, Tech Support (Borland)
  9979.  
  9980. #: 33571 S4/Forms
  9981.     07-Jun-93  15:05:01
  9982. Sb: #33391-Multi-Table Form
  9983. Fm: Rick Fillman (Sysop) 76702,273
  9984. To: J. Corby James 70714,3703 (X)
  9985.  
  9986.  > "Cannot modify this table".
  9987.  
  9988. With a 1-1 (and also with a 1-many) the child table is read-only
  9989. by default.  Go to the Data Model, and right-click "inspect" the
  9990. child table.  You should then UN-check Read-only.
  9991.  
  9992.      Rick Fillman, Tech Support (Borland)
  9993.  
  9994. #: 33572 S4/Forms
  9995.     07-Jun-93  15:05:06
  9996. Sb: #33403-Locate in arrive -> loop
  9997. Fm: Rick Fillman (Sysop) 76702,273
  9998. To: Scott Basham 73042,2410 (X)
  9999.  
  10000. Yes.  Moving the record pointer will RE-triger Arrive.
  10001.  
  10002. So, move the code off the arrive method, and onto the Open method
  10003. instead.  Now, because you are in the Open method, you'll want to
  10004. use doDefault ahaed of the code.
  10005.  
  10006.  
  10007.      Rick Fillman, Tech Support (Borland)
  10008.  
  10009. #: 33589 S10/ObjectPAL Environ.
  10010.     07-Jun-93  15:44:27
  10011. Sb: #MCI command strings
  10012. Fm: Kevin Finck 76424,1337
  10013. To: Jay Giganti 72037,2225
  10014.  
  10015. Jay,
  10016.  
  10017. I've had a little interest in this area as well.  What is your main source
  10018. for information about these windows calls?  I've had trouble finding
  10019. documentation on the multi media extensions.  I'm sure I'm just not looking
  10020. in the right place.
  10021.  
  10022. A simple example of what I'd like to look up.  How to play a wav file and
  10023. wait for (or poll) it to finish.
  10024.  
  10025. Thanks,
  10026. <<Kevin>>
  10027.  
  10028. * Reply:  33788
  10029.  
  10030. #: 33788 S10/ObjectPAL Environ.
  10031.     08-Jun-93  09:58:02
  10032. Sb: #33589-#MCI command strings
  10033. Fm: Tarik Ghbeish =Sysop= 76711,643
  10034. To: Kevin Finck 76424,1337 (X)
  10035.  
  10036. Kevin, to play the .WAV file make a call out to sndPlaySound.  We have a fax
  10037. in our TechFax system (800-822-4269) that describes this in detail.  I'm not
  10038. sure what the call would be, however to wait until the sound stops playing.
  10039. Unless you are using the PC-Speaker driver, Windows and Paradox keep on
  10040. executing while the sound plays in the background.  I'm afraid I don't have
  10041. the 3.1 API manuals yet, I'm still using the 3.0.
  10042.  
  10043. Tarik
  10044.  
  10045. #: 33594 S11/Using ObjectPAL
  10046.     07-Jun-93  16:10:23
  10047. Sb: #object containers
  10048. Fm: Christoph Schifferli 100010,3542
  10049. To: all
  10050.  
  10051. In an application, I have squares containing circles. I'd like to develop a
  10052. generalized method for responding to double clicks of the mouse. The response
  10053. should only become effective when the squares are hit, but not when an
  10054. embedded circle is.
  10055.  
  10056. If I implement the couble-click method on the form level, I can find out which
  10057. object was actually hit (getObjectHit). I then determine if it was a square
  10058. (all squares have names which allow me to recognize that). If, by chance, I
  10059. hit one of the circles, I'd like to find out, to which square the circle
  10060. belongs (circles are named the same in a square, i.e. square1 contains c1, c2,
  10061. c3..., square2 contains c1, c2 ,c3...).
  10062.  
  10063. How can I find out the name of the container of an object?
  10064.  
  10065. Tnak you for any help.
  10066.  
  10067. - christoph -
  10068.  
  10069. * Reply:  33716
  10070.  
  10071. #: 33716 S11/Using ObjectPAL
  10072.     07-Jun-93  22:18:48
  10073. Sb: #33594-object containers
  10074. Fm: Gail Meisner (TeamB) 71333,2143
  10075. To: Christoph Schifferli 100010,3542 (X)
  10076.  
  10077. Christoph-
  10078.  
  10079. How about containername??
  10080.  
  10081. If you do eventinfo.getTargetHit(uiobj), then you can check
  10082. uiobj.containername.
  10083.  
  10084. Gail
  10085.  
  10086. #: 33595 S1/Miscellaneous
  10087.     07-Jun-93  16:10:43
  10088. Sb: #Printing Forms
  10089. Fm: Victor R. Breen 71213,3607
  10090. To: SYSOP (X)
  10091.  
  10092. I am using Paradox for Windows to enter data to a table through a graphical
  10093. form, and than to print the form for presentation to the customer. I use
  10094. drop-edit boxes in the form to simplify data entry. On printing the form the
  10095. drop edit arrows and boxes are confusing to the customer. I used run time to
  10096. make them invisible, but than the drop-edit boxes do not function. My current
  10097. solution is to have to 2 copies of the form under Windows active and to enter
  10098. with one, and print with the other. Any other suggestions? If not, is there a
  10099. way to lock the table on a particular record, so that when I switch from form
  10100. to form, the same record from the table is displayed.
  10101.  
  10102. Thanx
  10103. Victor
  10104.  
  10105. * Reply:  33831
  10106.  
  10107. #: 33831 S1/Miscellaneous
  10108.     08-Jun-93  12:04:51
  10109. Sb: #33595-Printing Forms
  10110. Fm: Steve Neverve (Sysop) 71333,114
  10111. To: Victor R. Breen 71213,3607 (X)
  10112.  
  10113. Victor,
  10114.  
  10115. You may be able to attach OPAL code to the drop-down list box to hide it
  10116. when printing.  Also, you can use OPAL code to keep the same record selected
  10117. from form to form.  Please post in section 11, Using OPAL for support on
  10118. these issues.  If you want to select a record on a table and have it goto
  10119. that record in the form, just select the record in the table and select
  10120. "F7".
  10121.  
  10122. Steve
  10123.  
  10124. #: 33596 S4/Forms
  10125.     07-Jun-93  16:16:26
  10126. Sb: #33320-#MRO: can't write to file
  10127. Fm: Quinn Wildman (Sysop) 76703,3033
  10128. To: Ulrich Zindler 100271,313 (X)
  10129.  
  10130. >My originallay asked question was is there any limitation on placing objects
  10131. >into a MRO?
  10132.  
  10133. The only limit I can think of that applies to an MRO is that its height cannot
  10134. be less than .25 in.
  10135.  
  10136. * Reply:  33715
  10137.  
  10138. #: 33715 S4/Forms
  10139.     07-Jun-93  22:18:42
  10140. Sb: #33596-#MRO: can't write to file
  10141. Fm: Gail Meisner (TeamB) 71333,2143
  10142. To: Quinn Wildman (Sysop) 76703,3033 (X)
  10143.  
  10144. Quinn/ Ulrich-
  10145.  
  10146. And the total number of objects can't exceed 100-
  10147.  
  10148. Gail
  10149.  
  10150. #: 33687 S4/Forms
  10151.     07-Jun-93  21:23:41
  10152. Sb: #33320-#MRO: can't write to file
  10153. Fm: Rick Fillman (Sysop) 76702,273
  10154. To: Ulrich Zindler 100271,313 (X)
  10155.  
  10156.  > My originallay asked question was is there any limitation on
  10157.  > placing objects into a MRO? noone has answered it !! Why ??
  10158.  
  10159. Because we're not aware of any limitation.  The only limit we
  10160. know of has to due with unique occurrances of bound fields
  10161. objects from a single table in a single form.  But that limit
  10162. somewhere above one hundred. ... which is why I didn't think it
  10163. applied to you.
  10164.  
  10165. Maybe you could send me (via CIS mail) a file that shows the
  10166. problem.  If you could allow me to actually see the problem ...
  10167. with a sample file that you would put together ... this would
  10168. help me a great deal in understanding what's going on.
  10169.  
  10170. I'm interested that situation you described where you add the
  10171. 33rd field.  Can you send ma a form with 32 field that causes
  10172. this error on the adding of a 33rd?
  10173.  
  10174.      Rick Fillman, Tech Support (Borland)
  10175.  
  10176. #: 33598 S4/Forms
  10177.     07-Jun-93  16:16:31
  10178. Sb: #33390-Need more MEMO methods
  10179. Fm: Quinn Wildman (Sysop) 76703,3033
  10180. To: Jake Craighead 76274,73 (X)
  10181.  
  10182. >I notice in the OPAL Reference that the Memo type contains no methods to get
  10183. >at the actual text and formatting. ...
  10184.  
  10185. That's because what you after changing is a property.  It's certainly possible
  10186. to change any of these properties for a memo field.  Give a shout if you have
  10187. problems doing so.
  10188.  
  10189. #: 33611 S5/Reports
  10190.     07-Jun-93  17:46:21
  10191. Sb: #Print Report to File????
  10192. Fm: Larry Chop 73700,2317
  10193. To: Sysop (X)
  10194.  
  10195. In interactive mode, when I try to select the Generic / Text Only - File
  10196. printer (which works well on any other application, I get the dialog message
  10197.         Printer Error
  10198. No Printer Fonts Available, printing diabled
  10199.  
  10200. What's up? I had just tested printing to the Generic / Text Only - File
  10201. printer in Windows Write - worked great.
  10202. Why not in PfW, especially in the interactive mode??
  10203.  
  10204. Larry
  10205.  
  10206. * Reply:  34102
  10207.  
  10208. #: 34102 S5/Reports
  10209.     09-Jun-93  12:52:52
  10210. Sb: #33611-#Print Report to File????
  10211. Fm: Scott Arnett (Sysop) 76711,650
  10212. To: Larry Chop 73700,2317 (X)
  10213.  
  10214. Larry-
  10215.  
  10216. Make sure that you do not have Windows set to use only True Type fonts.  Go
  10217. into the control panel and select Fonts and True Type.  Make sure that "Show
  10218. Only True Type Fonts in Applications" is not checked.
  10219.  
  10220. -
  10221. Scott
  10222.  
  10223. #: 33613 S11/Using ObjectPAL
  10224.     07-Jun-93  17:54:42
  10225. Sb: #DataActions & 1->M form
  10226. Fm: Robert Cooper 70524,2351
  10227. To: All
  10228.  
  10229. I create a 1->M form. No problem.
  10230. Now I want to let the user find a specific master record.
  10231. I write a procedure:
  10232.         proc FindRecord()
  10233.                 action(MoveTopLeft)
  10234.                 action(DataSearch)
  10235.                 ;got to be a better way
  10236.                 action(DataNextRecord)
  10237.                 action(DataPriorRecord)
  10238.         endproc
  10239. After the DataSearch, I get the correct master record, but the detail record
  10240. is not
  10241. in sync.  The only "easy" way I've found so far is what I written above. There
  10242. got to
  10243. be a better way. Anyone know what it is?
  10244.  
  10245. Thanks!
  10246.  
  10247. * Reply:  33812
  10248.  
  10249. #: 33812 S11/Using ObjectPAL
  10250.     08-Jun-93  11:13:20
  10251. Sb: #33613-DataActions & 1->M form
  10252. Fm: Tarik Ghbeish =Sysop= 76711,643
  10253. To: Robert Cooper 70524,2351 (X)
  10254.  
  10255. Replace the action( DataNextRecord ) and action( DataPriorRecord ) with an
  10256. action( DataRefresh )
  10257.  
  10258. Tarik
  10259.  
  10260. #: 33615 S1/Miscellaneous
  10261.     07-Jun-93  18:05:59
  10262. Sb: #Crosstab/Report
  10263. Fm: Jeff Sims 70253,422
  10264. To: Sysop (X)
  10265.  
  10266. I am having difficulty reporting "crosstab"ed data.
  10267.  
  10268. After learning how the crosstab feature requires a form in PW, I then expected
  10269. that I could open an existing form as a report. Now I have read a reply to
  10270. questions about putting totals in a crosstab form. It appears that the
  10271. workaround is to generate a table from the form using a pushbutton.
  10272.  
  10273. This will also solve my problem, but I would like confirmation that there is
  10274. nothing built in (e.g., placing a crosstab object in a report as I can graph
  10275. objects) and that no one else has another workaround.
  10276.  
  10277. Thanks very much!
  10278.  
  10279. Jeff
  10280.  
  10281. * Reply:  33717
  10282.  
  10283. #: 33717 S1/Miscellaneous
  10284.     07-Jun-93  22:18:53
  10285. Sb: #33615-#Crosstab/Report
  10286. Fm: Gail Meisner (TeamB) 71333,2143
  10287. To: Jeff Sims 70253,422 (X)
  10288.  
  10289. Jeff-
  10290.  
  10291. Confirmed.  DataSaveCrosstab is the way to go.  Crosstabs are not available
  10292. on reports.
  10293.  
  10294. Gail
  10295.  
  10296. #: 33617 S11/Using ObjectPAL
  10297.     07-Jun-93  18:20:48
  10298. Sb: #Bug in openAsDialog?
  10299. Fm: Mark Eisenberg 70274,1473
  10300. To: All
  10301.  
  10302. Is there a bug in openAsDialog?  If I try to use it, I get an AE.  If I use
  10303. open instead, the form opens, but the formReturn() closes the calling form and
  10304. goes back to the top level form.
  10305.  
  10306. Details:
  10307.  
  10308. Form A opens and waits on Form B which opens Form C which is a dialog box.  If
  10309. Form B uses an openAsDialog() an AE occurs when Form C calls formReturn().  If
  10310. Form B uses an open() then Form C returns to form A when formReturn() is
  10311. called.
  10312.  
  10313. Any ideas?
  10314.  
  10315. Thanks,
  10316. Mark
  10317.  
  10318. * Reply:  33813
  10319.  
  10320. #: 33813 S11/Using ObjectPAL
  10321.     08-Jun-93  11:14:20
  10322. Sb: #33617-#Bug in openAsDialog?
  10323. Fm: Tarik Ghbeish =Sysop= 76711,643
  10324. To: Mark Eisenberg 70274,1473 (X)
  10325.  
  10326. What are you doing in the close method of formC?
  10327.  
  10328. Tarik
  10329.  
  10330. * Reply:  33899
  10331.  
  10332. #: 33899 S11/Using ObjectPAL
  10333.     08-Jun-93  15:39:10
  10334. Sb: #33813-#Bug in openAsDialog?
  10335. Fm: Mark Eisenberg 70274,1473
  10336. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  10337.  
  10338. formClose()
  10339.  
  10340. Mark
  10341.  
  10342. * Reply:  34211
  10343.  
  10344. #: 34211 S11/Using ObjectPAL
  10345.     09-Jun-93  18:30:35
  10346. Sb: #33899-Bug in openAsDialog?
  10347. Fm: Tarik Ghbeish =Sysop= 76711,643
  10348. To: Mark Eisenberg 70274,1473
  10349.  
  10350. Ok.  Don't perform closes or exits on a close.  Do you close either ealier or
  10351. later in the sequence of events you are executing.  You might want to also
  10352. look at which form you are closing when you call this.  Are you accidently
  10353. trying to close itself (again)?  If you need to close other forms when you
  10354. close this one, first make your cals to close the other forms, then introduce
  10355. a call to close your current form after you know the other calls are done.
  10356.  
  10357. Tarik
  10358.  
  10359. #: 33625 S2/Install/CFG/HrdWare
  10360.     07-Jun-93  19:39:22
  10361. Sb: #Secondary Indexes
  10362. Fm: Steve Medley 100026,1077
  10363. To: Tarik Ghbeish 76711,643 (X)
  10364.  
  10365. Tarik,
  10366.  
  10367. Can you Help with the following:
  10368.  
  10369. TABLE Structure
  10370.         Site Number             S*
  10371.         Site Name               A20 (Maintained Secondary Index)
  10372.         Other details - unimportant
  10373. Approx 2500 Records
  10374.  
  10375. REQUIREMENT
  10376. To let the user type in a partial string of characters of the Site name field,
  10377. to be presented with a list of sites that match the selection criteria. The
  10378. string can be any set a squential characters and in any position (Not
  10379. necessarily the First position).
  10380.  
  10381. MY SOLUTION
  10382. Is to accept a string of characters from the user and build up a field with
  10383. preceeding and suceeding "..", such as "..ASH..". This variable is placed into
  10384. a query and executed. A multi record form is when displayed linking the Answer
  10385. table.
  10386.  
  10387. This process works with interesting results. The first time it is executed it
  10388. takes about 20 secs and subsequent executions take about 2 secs. I can only
  10389. assume that Pdoxwin is holding the secondary index in the Cache or table
  10390. buffer. Secondly, I wouldn't have thought a secondary index would be of great
  10391. benefit in this situation as the selected chars may well be in any position
  10392. within the field.
  10393.  
  10394. Question.
  10395. 1. Is there a better way to acchieve that above result as this ultimatly has
  10396. to operate on a Lan that has fairly heavy traffic, and is the bane of my life.
  10397.  
  10398.  
  10399. Regards
  10400. Steve Medley
  10401.  
  10402. * Replies:  33893, 33982
  10403.  
  10404. #: 33893 S2/Install/CFG/HrdWare
  10405.     08-Jun-93  15:12:27
  10406. Sb: #33625-Secondary Indexes
  10407. Fm: Tarik Ghbeish =Sysop= 76711,643
  10408. To: Steve Medley 100026,1077 (X)
  10409.  
  10410. I don't think Paradox is using the secondary index for this.  More likely is
  10411. that the table is held in the buffer, speeding the query.  This is the main
  10412. purpose for the table buffer, after all.  The only better technique I could
  10413. think of using setFilter wouldn't apply here since you are matching randomly
  10414. anywhere in the string.
  10415.  
  10416. Tarik
  10417.  
  10418. #: 33982 S2/Install/CFG/HrdWare
  10419.     08-Jun-93  21:02:48
  10420. Sb: #33625-#Secondary Indexes
  10421. Fm: Robert Ramirez (Sysop) 76702,255
  10422. To: Steve Medley 100026,1077 (X)
  10423.  
  10424. Hello Steve,
  10425.  
  10426. I worked on a variation of what you are trying to do and came up with this:
  10427. This example relies on the Customer.db table in the private directory.
  10428.  
  10429. Lets say I have a field on my form, Myfield, and in that field I have the
  10430. following code attached to the following Built-in methods.  When I'm viewing
  10431. my data, I can go to this field and start entering a new name to locate.  For
  10432. each character entered, including the backspace, I locate on that value.  Hope
  10433. this helps...
  10434.  
  10435. ;Var of the field
  10436. Var
  10437.  s string
  10438.  tc tcursor
  10439. Endvar
  10440.  
  10441. ;Open of the field
  10442. Method Open(var eventinfo Event)
  10443. s = ""
  10444. Endmethod
  10445.  
  10446. ;Keychar of the field
  10447. Method KeyChar(var eventinfo keyEvent)
  10448. Action(editEnterpersistfieldview)
  10449. dodefault
  10450. tc.open("Customer.db")
  10451. s = s+eventinfo.char()
  10452. tc.locatepattern("Name",s+"..")
  10453. Name.resync(tc)
  10454. endmethod
  10455.  
  10456. ;Keyphysical of the field
  10457. Method keyphysical(var eventinfo keyEvent)
  10458. if eventinfo.vcharcode() = VK_Back and s<>"" then
  10459.  s = s.substr(1,size() -1)
  10460.  tc.locatepattern("name",s+"..")
  10461.  name.resync(tc)
  10462. Endif
  10463. Endmethod
  10464.  
  10465. ;depart of the field
  10466. Method depart(var eventinfo moveevent)
  10467. self.value = ""
  10468. endmethod
  10469.  
  10470.  
  10471. ~Robert
  10472. Borland Tech. Support
  10473.  
  10474. #: 33637 S11/Using ObjectPAL
  10475.     07-Jun-93  20:09:43
  10476. Sb: #controlling dialog forms
  10477. Fm: Paul Reeves 100141,2330
  10478. To: sysop (X)
  10479.  
  10480. I'm having a helluva time trying to use openasdialog()
  10481.  
  10482. 1/ I can't get it to load unless I use winstyledefault or winstyledialog.
  10483. 2/The latter loses my titlebar. I've tried concatenating the constants and
  10484. then openasdialog method fails.
  10485. 3/ If I interactively set the dialog form as modal, and then call it with
  10486. openasdialog it loses focus.
  10487. 4/ Lastly, setting the co-ordinates after using winstyledefault has no effect.
  10488.  
  10489. My aims are to load a dialog form in a specific place and prevent the user
  10490. doing anything else till the close the box. How do I do it?
  10491.  
  10492. Thanks in advance for all help gratefully received.
  10493.  
  10494.  
  10495.  
  10496. Paul
  10497.  
  10498. * Reply:  33814
  10499.  
  10500. #: 33814 S11/Using ObjectPAL
  10501.     08-Jun-93  11:16:13
  10502. Sb: #33637-controlling dialog forms
  10503. Fm: Tarik Ghbeish =Sysop= 76711,643
  10504. To: Paul Reeves 100141,2330 (X)
  10505.  
  10506. Don't use openAsDialog.  It's redundant and more difficult to use then open.
  10507. Set the dialog properties interactively and use the open command to specify
  10508. coordinates with the FormOpenInfo record stuff.  Dialogs by default open
  10509. centered in the screen.
  10510.  
  10511. Tarik
  10512.  
  10513. #: 33654 S1/Miscellaneous
  10514.     07-Jun-93  20:33:09
  10515. Sb: #33174-Tech Help
  10516. Fm: Brian Reed (Sysop) 71333,2360
  10517. To: Neil J. Salkind 70404,365
  10518.  
  10519. Neil,
  10520.  
  10521. Please see response from Mike Irwin (message #33288).  One addendum pertains
  10522. to global select of header.  Click on the header until you have the word
  10523. header in brackets on the status bar, then use Shift-F6 to inspect the items
  10524. in the header.  You will then be able to change the header font for all
  10525. fields.
  10526.  
  10527. Hope this helps,
  10528.  
  10529. Brian Reed (sysop)
  10530.  
  10531. #: 33671 S1/Miscellaneous
  10532.     07-Jun-93  20:36:16
  10533. Sb: #33376-Help
  10534. Fm: Brian Reed (Sysop) 71333,2360
  10535. To: Stewart Wells 70571,1523
  10536.  
  10537. Stewart,
  10538.  
  10539. It is true that you cannot calculate and sum on the calculations in a report.
  10540. What you can do is perform your calculations in a query, base the report on
  10541. the query or answer table and then you will be able to sum those fields.
  10542.  
  10543. Brian Reed (sysop)
  10544.  
  10545. #: 33672 S1/Miscellaneous
  10546.     07-Jun-93  20:43:24
  10547. Sb: Questions
  10548. Fm: EDWARD S. PAULEY 72164,1042
  10549. To: sysop (X)
  10550.  
  10551. A few of questions.
  10552.  
  10553.         1.      Does PW work with Windows for Workgroups?
  10554. It would seem that every time I leave the network (I'm the server) it takes
  10555. everyone on the network a long time before they can attach back on or they
  10556. can't attach at all.
  10557.  
  10558.         2.      When I crash I get the message "ODAPI is busy", and I can't
  10559. enter the Program unless I exit Windows and enter back in.  If I do that I
  10560. have problem #1 above.  Can I avoid this?
  10561.  
  10562.         3.      How do I use "Form|Order/Range" in my form?  I know how to use
  10563. setindex, setfilter, but I need to use a secondary index in the form view not
  10564. in the table object.  I know I can use Form|Order/Range and then choose my
  10565. Secondary Index, but how do I do it automatically.
  10566.  
  10567.         4.      Sometimes I get "lock violation" when I'm in a form and
  10568. someone is also in the same form.  Why and how do I avoid this?
  10569.  
  10570.         5.      Would the Runtime Version eliminate any of these problems?
  10571.  
  10572.         6.      When Where and How with the runtime version?
  10573.  
  10574. #: 33689 S4/Forms
  10575.     07-Jun-93  21:23:50
  10576. Sb: #33363-Losing fonts in forms
  10577. Fm: Rick Fillman (Sysop) 76702,273
  10578. To: Bo Wannerberg 70043,3010 (X)
  10579.  
  10580.  > I am losing font definitions in my forms. I create all fields
  10581.  > with standard font Arial 10, and save
  10582.  
  10583. This sounds pretty weird.  Font problems related to Windows fonts
  10584. is my best guess.  Let's see if we can isolate the problem to one
  10585. font or another.  What happens if you select a different font
  10586. (for the entire form).  Try Ctrl-Right-Click to select all
  10587. objects.
  10588.  
  10589. Also .. under Windows Control Panel, Fonts .. there's an option
  10590. for "Show only True Type" - is this checked?  If so, un-check
  10591. this.
  10592.  
  10593. Other ideas?  Kind of a long shot, but try changing printer
  10594. driver selection in Windows Control Panel.
  10595.  
  10596. Hope some of this helps.  Let me know.
  10597.  
  10598.      Rick Fillman, Tech Support (Borland)
  10599.  
  10600. #: 33691 S4/Forms
  10601.     07-Jun-93  21:24:01
  10602. Sb: #33413-Form Design Questions
  10603. Fm: Rick Fillman (Sysop) 76702,273
  10604. To: John Mitchell 71603,221 (X)
  10605.  
  10606.  > I need to let the user change tables on the fly.
  10607.  > How can I attach the new table to the form? The form will only
  10608.  > display info from one table, although I attached four tables,
  10609.  > with identical data structures, in the Data Model dialog box.
  10610.  
  10611. Table_Object.TableName="newTable.DB"
  10612.  
  10613. The TableName part of the above is a property.
  10614.  
  10615.  > Also, is there any way to open a report without letting
  10616.  > the user change it around? I want the user not to able to change
  10617.  > any of the structures I'm creating - with good reason.
  10618.  
  10619. Don't Open it (i.e avoid the Open method).  Go strait for
  10620. Report.Print.
  10621.  
  10622.  > is there a bulletproof way to let the
  10623.  > user change the sort field of a table on the fly?
  10624.  
  10625. If you have various 2ndary indexes established, you can, via
  10626. Opal, perform the following:
  10627.  
  10628. Tc.Open("Table.DB")
  10629. Tc.switchIndex("newIndex")
  10630. Table_Object_Name.Resync(Tc)
  10631.  
  10632. Where the Tc is a tCursor variable.
  10633.  
  10634. Hope this helps.
  10635.  
  10636.      Rick Fillman, Tech Support (Borland)
  10637.  
  10638. #: 33695 S4/Forms
  10639.     07-Jun-93  21:24:56
  10640. Sb: #33413-#Form Design Questions
  10641. Fm: Bill Todd (Kallista) 75046,1345
  10642. To: John Mitchell 71603,221 (X)
  10643.  
  10644. John,
  10645.  
  10646. 1) Why not use a four page form with the pages stacked and provide three
  10647. pushbuttons on each page to allow the user to move from page to page.  If you
  10648. stack the pages the user will only be able to see one page at a time and you
  10649. can have one table on each page.
  10650.  
  10651. 2) I am not sure I understand this question.  If you are asking if there is a
  10652. way to keep the user from going into design mode on a report but still allow
  10653. the user to run it the answer is yes.  Just deliver the report and give the
  10654. user the delivered version.  See delivering in the Developers Guide.
  10655.  
  10656. 3) Don't restructure the table!  Build secondary indexes to provide the
  10657. viewing orders you want and change them using switchIndex.  Unfortunately
  10658. switchIndex does not work for UIObjects at the moment so you must use a
  10659. TCursor.
  10660.  
  10661. var
  10662.    tc   TCursor endVar
  10663.  
  10664. tc.open("theTable") tc.switchIndex("myIndex") UIObject.resync(tc)
  10665.  
  10666. Bill
  10667.  
  10668. #: 33700 S4/Forms
  10669.     07-Jun-93  21:31:53
  10670. Sb: #Forms & Reports?!?!
  10671. Fm: Shirley J Cook 72520,664
  10672. To: All
  10673.  
  10674. I have table from 3.5 that I'm trying to use in Windows (I've already deleted
  10675. 3.5 from my hard drive and don't relaly want to re-load it!)  Where are my
  10676. reports, queries, and forms that were originally a part of the 3.5 table?  I
  10677. tried loking for them, but to no avail.  I'd appreciate any help -- quickly!
  10678.  
  10679. Thanks, Shirley
  10680.  
  10681. * Reply:  33904
  10682.  
  10683. #: 33904 S4/Forms
  10684.     08-Jun-93  16:05:56
  10685. Sb: #33700-#Forms & Reports?!?!
  10686. Fm: Quinn Wildman (Sysop) 76703,3033
  10687. To: Shirley J Cook 72520,664 (X)
  10688.  
  10689. Sorry, report, forms and scrips from Paradox for DOS (any version) are not
  10690. usable in Paradox for Windows.
  10691.  
  10692. #: 33703 S9/Learning ObjectPAL
  10693.     07-Jun-93  21:36:26
  10694. Sb: #table.enumrefintstruct()
  10695. Fm: Terry Moriarty 71310,2172
  10696. To: Washington Public Power 72360,1774 (X)
  10697.  
  10698. Thanks for your reply.
  10699.  
  10700. Your application has more data than the one I working on, but we have about 40
  10701. reports.  Unfortunately, I'm not all that sure we will be able to produce
  10702. these reports easily with PdoxWin.  We have about 250 fields in all.  Lots of
  10703. recursive relationships too, but Pdoxwin handles them nicely.
  10704.  
  10705. Did you have much problem developing this application?  I'm still getting
  10706. windows errors and I'm worried about whether they will continue with the
  10707. implemented application.  Most of these GFP are occurring in the development
  10708. functions, rather than when running the application.
  10709.  
  10710. Thanks again.
  10711.  
  10712. * Reply:  33842
  10713.  
  10714. #: 33842 S9/Learning ObjectPAL
  10715.     08-Jun-93  12:22:16
  10716. Sb: #33703-#table.enumrefintstruct()
  10717. Fm: Washington Public Power 72360,1774
  10718. To: Terry Moriarty 71310,2172 (X)
  10719.  
  10720. Terry:
  10721.  
  10722. I am having some trouble delivering my app.  My 2 major problems are:
  10723.  
  10724. * Resource limitations on forms.  I wanted to design forms which contained
  10725. more objects and/or lines of code than PFW was comfortable with.  I had to
  10726. completely rescope and redesign.
  10727.  
  10728. * Time investment.  In addition to the basic learning curve, I had to spend a
  10729. lot of time isolating, documenting, and working around anomalies.  I felt that
  10730. the time spent negated a lot of the productivity benefits supposedly gained
  10731. from working in a high-level language.
  10732.  
  10733. You may want to talk to David Ellis, who has _delivered_ a PFW app (yay,
  10734. David!).  My app is stil under development.
  10735.  
  10736. * Reply:  34029
  10737.  
  10738. #: 34029 S9/Learning ObjectPAL
  10739.     09-Jun-93  00:38:03
  10740. Sb: #33842-#table.enumrefintstruct()
  10741. Fm: Terry Moriarty 71310,2172
  10742. To: Washington Public Power 72360,1774 (X)
  10743.  
  10744. I don't think we will have resource limitations on form problem, although we
  10745. do have two complicated forms.  We planned on using multi-pages, but maybe
  10746. multiple forms would be a better approach.
  10747.  
  10748. I too have alot of notes on work-arounds to accomplish things.  In a sense, my
  10749. company was lucky because I built an application on my own time which absorbed
  10750. the learning curve and found most of the major problems (I think). So the next
  10751. application should get the productivity benefits.  However, I'm not the
  10752. programmer on that application, but the data modeler and database designer.
  10753. So I think quite a bit of my time will be in hand-holding while the others go
  10754. through their learning curve.  Theirs should be shorter because they have
  10755. access to me.
  10756.  
  10757. We plan on making the "go-no go" decision on this application on Friday. There
  10758. is some desire to wait until the next maintenance release of the PDoxWin
  10759. before starting the development.
  10760.  
  10761. Thanks for your insight.
  10762.  
  10763. Terry
  10764.  
  10765. * Reply:  34148
  10766.  
  10767. #: 34148 S9/Learning ObjectPAL
  10768.     09-Jun-93  15:23:14
  10769. Sb: #34029-table.enumrefintstruct()
  10770. Fm: Washington Public Power 72360,1774
  10771. To: Terry Moriarty 71310,2172
  10772.  
  10773. No problem. PFW is a good investment, but perhaps a long-term one.  If you
  10774. want to do big work with it in 1.0, you need to commit to making it work.
  10775.  
  10776. Norm
  10777.  
  10778. #: 33709 S9/Learning ObjectPAL
  10779.     07-Jun-93  22:00:59
  10780. Sb: #more control over forms
  10781. Fm: Gary Spinelli 75600,1201
  10782. To: sysop (X)
  10783.  
  10784. I used the example on page 275 of your ObjectPAL Developer's Guide as a
  10785. starting point for a update option on an application I'm working on. But,
  10786. I'm having a heck of a time bringing up a form with a blank multi-record
  10787. object
  10788. (for adding a new record).  Even though I insert a record in the "arrive"
  10789. method of the multi-record object (see below)
  10790.  
  10791. var
  10792.   stepTC TCursor
  10793. endvar
  10794.  
  10795. stepTC.attach(pfdline) ;pfdline is the multi-record object
  10796. stepTC.edit()
  10797. stepTC.insertRecord()
  10798.  
  10799. pfdline.moveToRecord(stepTC)
  10800.  
  10801. The  form always seems to position itself on the first record already loaded
  10802. with data.
  10803.  
  10804. One more question.  I'd like to take control my form in a way similar
  10805. to the WAIT RECORD UNTIL instruction from PAL.  Right now I'm trapping all
  10806. the functions keys in the keyPhysical method of the form.  There's got to
  10807. be a better way.
  10808.  
  10809. * Reply:  33748
  10810.  
  10811. #: 33748 S9/Learning ObjectPAL
  10812.     08-Jun-93  02:06:12
  10813. Sb: #33709-more control over forms
  10814. Fm: Randy Sell (Sysop) 75300,2147
  10815. To: Gary Spinelli 75600,1201 (X)
  10816.  
  10817. Gary-
  10818.  
  10819. >>The  form always seems to position itself on the first record already loaded
  10820. with data.
  10821.  
  10822. If I may, let me suggest an easier method as it doesn't appear using a tCursor
  10823. is needed here.
  10824.  
  10825. multi_RecordObject::Arrive
  10826. method arive(....)
  10827.    dodefault
  10828.    self.insertRecord()
  10829. endMethod
  10830.  
  10831. This assumes the user is already in edit mode.  Hasn't been tested.  If it
  10832. gives problems, put the same code on the multi_RecordObject::setFocus.
  10833.  
  10834. >>One more question.  I'd like to take control my form in a way similar
  10835. to the WAIT RECORD UNTIL instruction from PAL.  Right now I'm trapping all
  10836. the functions keys in the keyPhysical method of the form.  There's got to
  10837. be a better way.
  10838.  
  10839. Yes there is a better way.  Bascically the PAL WAIT RECORD UNTIL doesn't allow
  10840. you to leave a record until certain conditions are met.  To do this in OPAL,
  10841. you would check these conditions on the record::CanDepart.  Looks something
  10842. like this...
  10843.  
  10844. record::CanDepart
  10845. method CanDepart(...)
  10846.    if not this_condition and not that_condition then
  10847.       eventinfo.setErrorCode(nonZeroConstant)
  10848.    endif
  10849. endMethod
  10850.  
  10851. Setting the error code to a non zero value causes the event cycle to stop, in
  10852. effect stoping the user from leaving that record until those conditions are
  10853. met.
  10854.  
  10855. Hope this helps,
  10856. Randy Sell
  10857. PDW Technical Support
  10858.  
  10859. #: 33720 S11/Using ObjectPAL
  10860.     07-Jun-93  22:39:20
  10861. Sb: #MenuWindowCloseAll
  10862. Fm: Brian McKinley 70524,2535
  10863. To: All
  10864.  
  10865. All,
  10866.  
  10867. Why is it that what appears to be easy can be the most difficult to impliment?
  10868. Is there a way to close all windows before exiting an application?  I have
  10869. tried using the MenuAction constant MenuWindowCloseAll with no success.  Has
  10870. anyone found a work around for this problem?
  10871.  
  10872. Any help would be appreciated.
  10873.  
  10874. Brian
  10875.  
  10876. * Reply:  33816
  10877.  
  10878. #: 33816 S11/Using ObjectPAL
  10879.     08-Jun-93  11:22:34
  10880. Sb: #33720-#MenuWindowCloseAll
  10881. Fm: Tarik Ghbeish =Sysop= 76711,643
  10882. To: Brian McKinley 70524,2535 (X)
  10883.  
  10884. EnumFormNames to an array and step through the array closing all forms with an
  10885. attach and then a close.  Be careful not to close the current form until you
  10886. are done with all the others.
  10887.  
  10888. Tarik
  10889.  
  10890. #: 33811 S11/Using ObjectPAL
  10891.     08-Jun-93  11:11:37
  10892. Sb: #33590-MenuWindowCloseAll
  10893. Fm: Tarik Ghbeish =Sysop= 76711,643
  10894. To: Jim McGerigle 72113,2707 (X)
  10895.  
  10896. No patches.  Try enumerating the forms into an array and stepping through the
  10897. array with an attach and a close for each form.  Be careful to eliminate or
  10898. ignore your current form that is handling the menuAction until you have closed
  10899. all other forms.
  10900.  
  10901. Tarik
  10902.  
  10903. #: 33931 S11/Using ObjectPAL
  10904.     08-Jun-93  17:54:53
  10905. Sb: #MenuWindowCloseAll
  10906. Fm: Brian McKinley 70524,2535
  10907. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  10908.  
  10909. Tarik,
  10910.  
  10911. I tried to implement closing all the form using enumFormNames.  The code
  10912. is in a library, and it looks something like this:
  10913.  
  10914.  
  10915. enumFormNames( FormNames )
  10916. for i from 2 to FormNames.size()
  10917.   f.attach( FormNames[i] )
  10918.   f.close()
  10919. endfor
  10920. f.attach( FormNames[1] )
  10921. f.close()
  10922.  
  10923.  
  10924. The above code works just fine and closes all of the forms, BUT...I don't
  10925. recall if I mentioned in my first note, that I want to close all the forms
  10926. before exiting the application.  Exiting the application includes exiting
  10927. Paradox for Windows.  Adding the Exit() function to the above code gives
  10928. me a GP error.  I beleive this is what you call a catch 22.  I need to
  10929. close all of the forms before exiting, but to exit under objectPal control
  10930. I need a form.  I tried geting the window handle to the Paradox for
  10931. Windows window and posting a WM_Close command instead of the Exit() command,
  10932. but alas, this too resulted with a GP error.
  10933.  
  10934. How can I close all of the windows and exit Paradox for Windows?
  10935.  
  10936.  
  10937.  
  10938. Thanks again for the help.
  10939.  
  10940. Brian
  10941.  
  10942. * Reply:  34208
  10943.  
  10944. #: 34208 S11/Using ObjectPAL
  10945.     09-Jun-93  18:30:26
  10946. Sb: #33931-#MenuWindowCloseAll
  10947. Fm: Tarik Ghbeish =Sysop= 76711,643
  10948. To: Brian McKinley 70524,2535 (X)
  10949.  
  10950. Be careful not to close the last form that called the library.  Then you have
  10951. several options.  You can try to place an exit() on the close method of the
  10952. main controlling form, but I think this won't work correctly either
  10953. (sequence).  You COULD launch a script on the close method of the final form
  10954. that set's itself a timer.  In the timer method try to attach to the last form
  10955. everytime it fires off.  WHen you can no longer attach, you know it is safe to
  10956. execute an exit command.
  10957.  
  10958. Tarik
  10959.  
  10960. * Reply:  34284
  10961.  
  10962. #: 34284 S11/Using ObjectPAL
  10963.     09-Jun-93  23:12:50
  10964. Sb: #34208-MenuWindowCloseAll
  10965. Fm: Brian McKinley 70524,2535
  10966. To: Tarik Ghbeish =Sysop= 76711,643
  10967.  
  10968. Tarik,
  10969.  
  10970. Thanks again for the ideas.
  10971.  
  10972. >Be careful not to close the last form that called the library. Then you have
  10973. >several options.  You can try to place an exit() on the close method of the
  10974. >main controlling form, but I think this won't work correctly either.
  10975.  
  10976. You are right, I tried this and it did not work.
  10977.  
  10978. >You COULD launch a script on the close method of teh final form that set's
  10979. >itself a timer.  In the timer method try to attach to the last form
  10980. >everytime it fires off.  When you can no longer attach, you know it is safe
  10981. >to execute an exit command.
  10982.  
  10983. I will try this tomarrow.  I tried launching a script and putting the exit
  10984. there, but I didn't think of using a timer with a script.  In fact, I didn't
  10985. know that scripts had timer methods.  This opens up many other
  10986. possibilities.
  10987.  
  10988. Thanks again,
  10989.  
  10990. Brian
  10991.  
  10992. #: 33723 S11/Using ObjectPAL
  10993.     07-Jun-93  22:48:21
  10994. Sb: #33642-#DataLookup & ChangeValue
  10995. Fm: Gail Meisner (TeamB) 71333,2143
  10996. To: Randy Magruder (Borland) 70720,663 (X)
  10997.  
  10998. Randy/ David -
  10999.  
  11000. I missed the beginning of this thread, but I presume the initial question
  11001. was something like "Why doesn't changevalue get called in response to a
  11002. DataLookup"?  I remember a discussion a while back concerning the fact that
  11003. changevalue looks at the "temporary field memo thing".  DataLookup doesn't
  11004. operate through the temporary thing and therefore doesn't trigger
  11005. changeValue.
  11006.  
  11007. Is this anything that hasn't already been said? Is it true??
  11008.  
  11009. Gail
  11010.  
  11011. * Reply:  33992
  11012.  
  11013. #: 33992 S11/Using ObjectPAL
  11014.     08-Jun-93  22:00:28
  11015. Sb: #33723-DataLookup & ChangeValue
  11016. Fm: Randy Magruder 70720,663
  11017. To: Gail Meisner (TeamB) 71333,2143 (X)
  11018.  
  11019. Gail,
  11020.  
  11021. Yes, the reason it doesn't trigger a changeValue is that it changes the
  11022. contents of the data model, not UIobjects.  Its a table-level valcheck and
  11023. therefore works at the table level REGARDLESS of whether the fill-in fields
  11024. are on the form.  It was suggested changeValue should be called anyway, and I
  11025. promised to pursue it.
  11026.  
  11027. Randy
  11028.  
  11029. #: 34200 S11/Using ObjectPAL
  11030.     09-Jun-93  18:30:00
  11031. Sb: #34036-DataLookup & ChangeValue
  11032. Fm: Tarik Ghbeish =Sysop= 76711,643
  11033. To: David L. Hoffman 73670,1775
  11034.  
  11035. You would want want to trap that (keyviolations) in an action called
  11036. DataPostRecord or DataLockRecord anyway which would still get called when you
  11037. try to post.  It wouldn't/shouldn't effect your code in that example, unless
  11038. that (the changeValue) is how you're deciding when to try and force a post.
  11039.  
  11040. Tarik
  11041.  
  11042. #: 33724 S1/Miscellaneous
  11043.     07-Jun-93  23:09:06
  11044. Sb: #33450-#Aborts
  11045. Fm: Gil Garnsey 75330,3647
  11046. To: Steve Neverve (Sysop) 71333,114 (X)
  11047.  
  11048. I've got a friend where I work who has looked at the problem, and is
  11049. helping me with it, I've also got a note into MICROSOFT about the error.
  11050.  
  11051. My concern which BORLAND should help me with is the aborts. I found the TI
  11052. document regarding how to setup AUTOEXEC.BAT and CONFIG.SYS to run 'bare
  11053. bones' and followed the instructions. I continue to get occasional aborts,
  11054. with messages such as
  11055.  
  11056. "PDOXWIN caused a General Protection Fault in module " followed once by
  11057. "USER.EXE at 0006:1AA6", once with "PDOXWIN.EXE at 0003:33A3",  once with
  11058. "PDOXWIN.EXE at 000A:00E7", and finally "PXDSRV2.DLL at 0011:0064". There have
  11059. been others but I've given up keeping track of it. I installed PDOXWIN on
  11060. another system I have available to me at work, and it too is generating these
  11061. types of messages. Needless to say, rather than have two computers get screwed
  11062. up, I've erased it from the 2nd system.
  11063.  
  11064. While I find Paradox is providing me with tremendous functionality to
  11065. addressing some key business requirements I have, I must admit I'm seriously
  11066. considering switching to something else, and recommending others to do the
  11067. same. I would really appreciate some direction in this matter ASAP!!!!!
  11068.  
  11069. * Reply:  33828
  11070.  
  11071. #: 33828 S1/Miscellaneous
  11072.     08-Jun-93  12:04:37
  11073. Sb: #33724-#Aborts
  11074. Fm: Steve Neverve (Sysop) 71333,114
  11075. To: Gil Garnsey 75330,3647 (X)
  11076.  
  11077. Gil,
  11078.  
  11079. I'm sorry for the inconveniences that you are occuring.  If you are getting
  11080. GPF's with the simple system, then you must have a memory conflict with yuor
  11081. viedo drivers.  Did you add EMMEXCLUDE=A000-C7FF the the 386Enh section of
  11082. your System.ini?  Again this is a generic range of memory. You really need
  11083. to know the exact range of memory that you are using.  Anyways, if you have
  11084. added the EMMEXCLUDE, delete it and try FRAME=E000.
  11085.  
  11086. As for the PXDSRV.DLL, remove all of your printers in the control panel.
  11087. Next, go to the Windows\System directory and delete your printer driver
  11088. files.  Your printer drivers, along with all other drivers like screen
  11089. drivers, have the extension .DRV.  So make sure that you only delete your
  11090. printer drivers.  IE; HPPCL5.DRV for the LaserJet 3 series printers. Once
  11091. you have done that, reinstall the printers in the control panel using
  11092. Windows disk 6.
  11093.  
  11094. Steve
  11095.  
  11096. * Replies:  34007, 34022
  11097.  
  11098. #: 34007 S1/Miscellaneous
  11099.     08-Jun-93  22:40:31
  11100. Sb: #33828-Aborts
  11101. Fm: Gil Garnsey 75330,3647
  11102. To: Steve Neverve (Sysop) 71333,114 (X)
  11103.  
  11104. I'll try this and I hope you're right. My concern continues to be the fact I
  11105. can create this type of problem on two separate computer systems, both with
  11106. generic type configurations. If it takes a lot of special work to make Paradox
  11107. run, I'm not certain you've got a viable package on your hands.....
  11108.  
  11109. #: 34022 S1/Miscellaneous
  11110.     08-Jun-93  23:39:56
  11111. Sb: #33828-#Aborts
  11112. Fm: Gil Garnsey 75330,3647
  11113. To: Steve Neverve (Sysop) 71333,114 (X)
  11114.  
  11115. Steve, I sent an initial reply upon reading your note. Have tried your FRAME
  11116. recommendation, and continue to get an abort. I don't understand the delete
  11117. driver thing, because when I had the abort, I wasn't printing.....
  11118.  
  11119. Browsing thru the messages, I can see what appears to be a fairly consistent
  11120. problem being reported about PARADOX aborts a GPF's. I'm really starting to
  11121. think Borland has a problem on their hand.
  11122.  
  11123. I continue to wait for a resolution to my problem....
  11124.  
  11125. * Reply:  34193
  11126.  
  11127. #: 34193 S1/Miscellaneous
  11128.     09-Jun-93  18:25:16
  11129. Sb: #34022-Aborts
  11130. Fm: Steve Neverve (Sysop) 71333,114
  11131. To: Gil Garnsey 75330,3647 (X)
  11132.  
  11133. Gil,
  11134.  
  11135. Paradox does not have any known memory problems.  The system that I am using
  11136. works fine.  I just cannot stress enough the importance of proper
  11137. configuration in todays complex computing environment.  Things like
  11138. excluding your video and network drivers from memory are real important.
  11139. Again, GPF's are due to memory conflicts.  The ONLY way to troubleshoot
  11140. these types of problems are to exclude memory and follow TI1283.ASC in LIB1.
  11141. The frame command I gave you excluded a larger range of memory than the
  11142. EMMEXCLUDE.  For a full description of these commands, you can refer to your
  11143. Windows 3.1 manual.  Also, if you have the Windows resources kit, there is
  11144. a section that discuesses GPF and how to correct them.
  11145.  
  11146. Steve
  11147.  
  11148. #: 33730 S5/Reports
  11149.     07-Jun-93  23:30:12
  11150. Sb: #Printer Orientation
  11151. Fm: David J. Spigelman 74640,1306
  11152. To: sysop (X)
  11153.  
  11154. I'm working on a price list report. I have set up a multi-record report to do
  11155. the job. I set the Page Layout Orientation to Landscape.
  11156.  
  11157. When I accidentally forget to change the printer orientation to Landscape, the
  11158. report prints with no delays. It get's clipped off when it runs out of room on
  11159. the page, but it DOES go to print. When I select Landscape from Modify Printer
  11160. Setup and THEN try to print the report, I get the message, "Possible
  11161. orientation mismatch between printer setting and document layout!"
  11162.  
  11163. I can't figure out why it's doing this. For the most part, there is no problem
  11164. when printing, but occasionally, the lines drawn at the bottom of the page
  11165. don't print. Any suggestions?
  11166.  
  11167. -David
  11168.  
  11169. * Reply:  33881
  11170.  
  11171. #: 33881 S5/Reports
  11172.     08-Jun-93  15:06:13
  11173. Sb: #33730-#Printer Orientation
  11174. Fm: Ken Merson -Sysop- 76117,3146
  11175. To: David J. Spigelman 74640,1306 (X)
  11176.  
  11177. Is the report designed for the screen or the printer?
  11178.  
  11179. In some cases, a second call to the page layout dialog (Report | Page layout |
  11180. OK -- don't change anything!) will correct the confusion.
  11181.  
  11182. Let me know if this helps your situation.
  11183.  
  11184. Ken Merson :^,
  11185.  
  11186. * Replies:  34062, 34105
  11187.  
  11188. #: 34062 S5/Reports
  11189.     09-Jun-93  09:40:38
  11190. Sb: #33881-#Printer Orientation
  11191. Fm: David J. Spigelman 74640,1306
  11192. To: Ken Merson -Sysop- 76117,3146 (X)
  11193.  
  11194. Ken -
  11195.  
  11196. The report is designed for the printer.
  11197.  
  11198. >In some cases, a second call to the page layout dialog (Report | Page layout
  11199. | OK >-- don't change anything!) will correct the confusion.
  11200.  
  11201. I tried this, but it didn't help. I appreciate your help.
  11202.  
  11203. -David
  11204.  
  11205. * Reply:  34185
  11206.  
  11207. #: 34185 S5/Reports
  11208.     09-Jun-93  17:45:00
  11209. Sb: #34062-Printer Orientation
  11210. Fm: Ken Merson -Sysop- 76117,3146
  11211. To: David J. Spigelman 74640,1306
  11212.  
  11213. Working on my own, I've sen that the report seems to want to hold on to the
  11214. orientation in which it was _created_ when it comes to orientation mismatch
  11215. checking.  Changing the layout afterwards seems to make no difference in this
  11216. regard.
  11217.  
  11218. I guess the net effect of the warning , sometimes, is to make you think about
  11219. the layout issue, rather than actually do anything about it.
  11220.  
  11221. resolution:
  11222. Since you have settled on the design you want, create a new, blank report with
  11223. the same datamodel as the original, setting the layout correctly at create
  11224. time.  Select and copy all the ui objects (tableframes/fields etc) and paste
  11225. them into the new report.  After this, the report layout warnong will be more
  11226. important to you.
  11227.  
  11228. hope this helps,
  11229.  
  11230. ken merson :^,
  11231.  
  11232. #: 34105 S5/Reports
  11233.     09-Jun-93  12:56:57
  11234. Sb: #33881-Printer Orientation
  11235. Fm: Michael Meservy 76656,300
  11236. To: Ken Merson -Sysop- 76117,3146 (X)
  11237.  
  11238. I am experiencing this problem also.  It seems to occur when I start to define
  11239. and report in lanscape mode and then switch to portrait.  Even though no
  11240. fields are defined outside the range or margins of the current orientation, I
  11241. still get the message of possible page orientation problem.  Thanks for any
  11242. help you can offer.
  11243.  
  11244. #: 33731 S4/Forms
  11245.     07-Jun-93  23:49:25
  11246. Sb: #Quick Form
  11247. Fm: Peg M. Molter 72134,2727
  11248. To: All
  11249.  
  11250. I am a brand new Paradox user, although I've had a little with D-Base IV.
  11251. While following the documentation on how to create a quick form, then exit:  I
  11252. double click on the form's control menu.  It brings up the prompt
  11253.  
  11254.         Newly created document
  11255.                 Form:  New
  11256.         Do you want to save it?
  11257.  
  11258. When I answer "yes," I'm supposed to be taken to the "Save File As" dialog
  11259. box.  Instead, I'm taken to the Forms Design window.  When I double click on
  11260. THAT control menu, it brings up the same "save" prompt, and when I answer
  11261. "yes," I'm then taken to the dialog box described above.  All the
  11262. documentation indicates  I shouldn't be going through the design window when
  11263. saving the quick form.  Any suggestions?
  11264.  
  11265. Thanks for your patience with a really basic-type question. - - - Peg
  11266.  
  11267. * Reply:  33906
  11268.  
  11269. #: 33906 S4/Forms
  11270.     08-Jun-93  16:06:02
  11271. Sb: #33731-#Quick Form
  11272. Fm: Quinn Wildman (Sysop) 76703,3033
  11273. To: Peg M. Molter 72134,2727 (X)
  11274.  
  11275. The product is operating as indended here.  The idea is that a form can only
  11276. be saved when you are in design mode, so if you tell a form to save itself
  11277. from run mode, it takes you to design mode so it can be saved.
  11278.  
  11279. #: 34278 S4/Forms
  11280.     09-Jun-93  22:58:43
  11281. Sb: #33955-Quick Form
  11282. Fm: Peg M. Molter 72134,2727
  11283. To: Rick Fillman (Sysop) 76702,273
  11284.  
  11285. Rick,
  11286.  
  11287. Thanks so much for your quick response.  I really appreciate it.  I have one
  11288. more question about logical operators in a query.  When I use the comma as the
  11289. logical AND in conjunciton with the NOT operator, (e.g., delete from this
  11290. table all records whose "name" is .  . . NOT Smith,NOT Jones. . . I end up
  11291. with "Jackson and Riley,"  just what I wanted.  When I accidentally used . . .
  11292. NOT Smith AND NOT Jones. . . , I ended up with "Smith, Jones, Jackson and
  11293. Riley." The program "thought" I meant . . . all those whose name is both Smith
  11294. and Jones, a mutual exclusion.  1)  Why the difference between the two "and"
  11295. operators?  2)  It seems a little inconsistent that the syntax for the logical
  11296. "or" is "OR", but a comma, rather than "AND" for the "and" operator.
  11297.  
  11298. Thanks again . . . Peg
  11299.  
  11300. #: 33737 S1/Miscellaneous
  11301.     08-Jun-93  00:35:24
  11302. Sb: Programmer Needed
  11303. Fm: Jonathan Shema 71630,542
  11304. To: Anyone
  11305.  
  11306. Nabisco, in northern NJ, is interested in contacting a professional paradox
  11307. programmer(s) to assist us in developing applications in Paradox/windows.
  11308. Databases will range from simple list handlers to complex systems where
  11309. techniques will need to be established to get information from our mainframe
  11310. database systems.
  11311. If you are a professional database programmer, in or around NJ,  and want to
  11312. offer assistance, please call Jonathan Shema at 201-503-3344.  or leave mail.
  11313. Thanks
  11314.  
  11315. #: 33744 S3/Tables/TableView
  11316.     08-Jun-93  01:19:53
  11317. Sb: #Detail Table Op Failed
  11318. Fm: Ed Malloy 72701,1174
  11319. To: Sysop (X)
  11320.  
  11321. I am (was) creating referential integrity links between tables in a
  11322. construction database (jobs, labor, mtls, etc.) . Towards the end, I linked
  11323. Labor to both Jobs (labor target) and Mechanics (labor performers), and got
  11324. the message: "Detail TableOpen Operation Failed. ".." Labor.db" (the table
  11325. that I was modifying).  After this, the Jobs table would not open.  I copied
  11326. jobs to jobs2 and that table opened and contains all the data, but I cannot
  11327. modify the labor table
  11328. .
  11329. Is it possible to create "circular" ref-integrity that locks a table?? I don't
  11330. think that I have, but I have a couple of many-many relationship tables.
  11331.  
  11332. Is there a reference paper or on-line to error messages? are there err-mess
  11333. No'?
  11334.  
  11335. Totally unrelated ... Two BIG Needs -- points/picas rulers !!! and Ctrl-X,C,V
  11336. utility everywhere, not just in editing procedures.   PLEASE  <g>
  11337.  
  11338. Thanks
  11339. Ed
  11340.  
  11341. * Replies:  34034, 34082
  11342.  
  11343. #: 34034 S3/Tables/TableView
  11344.     09-Jun-93  00:57:11
  11345. Sb: #33744-#Detail Table Op Failed
  11346. Fm: Bruce MacDonald 70277,3515
  11347. To: Ed Malloy 72701,1174
  11348.  
  11349. I too just got the same problem this evening.  First I created a few tables,
  11350. and then defined the referential integrity and secondary indexes.  Now I have
  11351. one table that I can't restructure; I get the "Detail table open failure"
  11352. message for the table I am trying to restructure.
  11353.  
  11354. A table I have linked to it with referential integrity cannot open at all -- I
  11355. can't even open the restructure dialog.
  11356.  
  11357. As Ed did, I searched in vain for an error messages book.  This is a must
  11358. guys!
  11359.  
  11360. So ... any ideas anybody?
  11361.  
  11362.         Bruce
  11363.  
  11364. #: 34082 S3/Tables/TableView
  11365.     09-Jun-93  11:53:30
  11366. Sb: #33744-Detail Table Op Failed
  11367. Fm: David Orriss Jr(Sysop) 75300,1414
  11368. To: Ed Malloy 72701,1174
  11369.  
  11370. Ed,
  11371.  
  11372.   We're not entirely sure why this problem occurs.  We are currently looking
  11373. into similar issues here in Tech Support for exact causes of this.  In the
  11374. mean time, consider these ideas/suggestions when you set RI (Referential
  11375. Integrity).
  11376.  
  11377. 1)To get access to your tables again delete the VAL files for the tables.
  11378.  
  11379. 2)Make it the *last* thing that you set when creating an application.  If you
  11380. set RI and then need to change the tables you may end up needing to do
  11381. suggestion 1 to get the tables to release RI.
  11382.  
  11383. I hope these suggestions are useful.
  11384.  
  11385. David
  11386.  
  11387. #: 33766 S11/Using ObjectPAL
  11388.     08-Jun-93  07:42:58
  11389. Sb: PFW and Out of memory
  11390. Fm: PENET JOHNNY 72377,3426
  11391. To: Randy Sell 75300,2147 (X)
  11392.  
  11393. Dear Randy,
  11394.  
  11395. I finaly solved my problem with the message out of memory. In fact it has
  11396. nothing to do with running out of memory. I simply make a mistake in
  11397. objectpal. I did a display of a menu, but the object menu was not initialised.
  11398. I have the impression that the error messages coming out of PFW are not
  11399. exactly as it has to be. Maybe You can pass this message to the development
  11400. people. It must be a hard time if support people like you Randy if you can not
  11401. rely on the messages. Thanks anyway for hints, it made me looking elsewhere.
  11402.  
  11403.  
  11404. Johnny
  11405.  
  11406. #: 33769 S9/Learning ObjectPAL
  11407.     08-Jun-93  08:05:41
  11408. Sb: #AutoFill imbedded table
  11409. Fm: Brad Morris 71035,753
  11410. To: all
  11411.  
  11412. I am working with a Form that has an imbedded table. The DB Table is called
  11413. Lineitem.db .
  11414. In that table my fields are Qyt, Unit_Cost and Total.
  11415. What I would like to be able to do is enter the Cost and Qty and have the
  11416. Total Field automatically be filled in.  How is it done?
  11417.  
  11418. Thanks for the Help!
  11419.  
  11420. Brad
  11421.  
  11422. * Replies:  34001, 34004
  11423.  
  11424. #: 34001 S9/Learning ObjectPAL
  11425.     08-Jun-93  22:22:28
  11426. Sb: #33769-AutoFill imbedded table
  11427. Fm: Rod  Niner 72673,2130
  11428. To: Brad Morris 71035,753 (X)
  11429.  
  11430. use ChangeValue method attache to Qty and Unit_Cost that computes the total
  11431. anytime the two fields are changed.  there is an example in learning
  11432. objectpal.  I use code like this for a simular function
  11433. method changeValue(var eventInfo ValueEvent)
  11434.         doDefault
  11435.         if not Self.isBlank() then
  11436.                 if not Qty_Ordered.isBlank() then
  11437.                         Total_Ordered.Value=Self.Value*Cost_Ea.Value
  11438.                 else
  11439.                     Total_Ordered.Value=0
  11440.                 endIf
  11441.                 if not Qty_Received.isBlank() then
  11442.                         Total_Received.Value=Self.Value*Cost_Ea.Value
  11443.                 else
  11444.                         Total_Received.Value=0
  11445.                 endIf
  11446.         else
  11447.                 Total_Ordered.Value=0
  11448.                 Total_Received.Value=0
  11449.         endIf
  11450. endmethod
  11451.  
  11452. #: 34004 S9/Learning ObjectPAL
  11453.     08-Jun-93  22:29:48
  11454. Sb: #33769-AutoFill imbedded table
  11455. Fm: Richard Wagner (TeamB) 71333,2031
  11456. To: Brad Morris 71035,753 (X)
  11457.  
  11458. Brad,
  11459.  
  11460. One idea is to put a depart method on either your Unit Cost or Qty field
  11461. (which ever comes last) so that when you leave that field, the method
  11462. calculates the total field and gives the field a value. The code would look
  11463. something like:
  11464.  
  11465.        Total.value = Unit_Cost * Qty
  11466.  
  11467. Richard Wagner
  11468.  
  11469. #: 33778 S1/Miscellaneous
  11470.     08-Jun-93  09:13:56
  11471. Sb: #ParaWIN vs ParaDOS Speed
  11472. Fm: Eileen Dolan 76077,2454
  11473. To: ALL
  11474.  
  11475. How is the speed of the queries in ParaWIN as compared to ParaDOS 4 ??? How is
  11476. the speed of the queries in ParaWIN as compared to ObjectVision 2.1?
  11477.  
  11478. SPEED is the name of the game in user based GUI applications.  Do you know of
  11479. ANY user willing to wait 30+ seconds for a search (query)??? That's how long
  11480. you have to wait in ObjectVision on 2000 records (on a 486-33 with 8MB of RAM)
  11481. and in some cases over a minute!  Does anyone know when the ObjectVision
  11482. Converter to ParaWIN will be available?
  11483.  
  11484. Steve K.       . .
  11485.                 -
  11486.                ~~~
  11487.  
  11488. * Reply:  33838
  11489.  
  11490. #: 33838 S1/Miscellaneous
  11491.     08-Jun-93  12:05:26
  11492. Sb: #33778-ParaWIN vs ParaDOS Speed
  11493. Fm: Steve Neverve (Sysop) 71333,114
  11494. To: Eileen Dolan 76077,2454 (X)
  11495.  
  11496. Eileen (Steve)
  11497.  
  11498. We do not have any benchmark data comparing queries in PDOX (DOS), PFW, or
  11499. OV.  You probably will not see any increased speed between PDOX (DOS) and
  11500. PFW.  Generally, Windows applications tend to be slower than DOS
  11501. applications.  You may want to try
  11502.  
  11503. a. upgrading to 12MB of RAM
  11504. b. removing all memory resident programs from memory
  11505.  
  11506. Steve
  11507.  
  11508. #: 33789 S9/Learning ObjectPAL
  11509.     08-Jun-93  09:58:36
  11510. Sb: #objectpal errors
  11511. Fm: Pat Casey 100041,714
  11512. To: Randy Sell 75300,2147 (X)
  11513.  
  11514. To:  Randy Sell (Sysop) 75300,2147 From: Pat Casey 100041,714
  11515.  
  11516. It's like going to the dentist - I couldn't recreate that error code again but
  11517. I found another one which I can definately reproduce.
  11518.  
  11519. method pushbutton var
  11520.         k,l smallint endvar
  11521.         k=100
  11522.          try
  11523.           l=k/0 ; try dividing by zero
  11524.           onfail
  11525.           fail()        ; trigger built in error method
  11526.         endtry endmethod
  11527.  
  11528. method error()  ; built in error method
  11529. msginfo"Error",strval(eventinfo.errorcode()))
  11530.  
  11531. This wil produce the error code 34849 - any ideas?
  11532.  
  11533. Thanks Pat
  11534.  
  11535. * Reply:  34006
  11536.  
  11537. #: 34006 S9/Learning ObjectPAL
  11538.     08-Jun-93  22:37:21
  11539. Sb: #33789-objectpal errors
  11540. Fm: Randy Sell (Sysop) 75300,2147
  11541. To: Pat Casey 100041,714 (X)
  11542.  
  11543. Pat-
  11544.  
  11545. don't use eventinfo.errorcode()  <-- gives a number
  11546. use:
  11547.         errorshow("some thing west wrong...")
  11548. or
  11549.         errormessage()
  11550. which should yield the error message "Cannot divide by zero"
  11551.  
  11552. I recomend using errorshow() because it shows the entire error stack, whereas
  11553. errormessage shows the last eror (on the top of the error stack).  errorShow()
  11554. has to one of the best debugging tools put into the language.
  11555.  
  11556. Happy programming
  11557. Randy Sell
  11558. PDW Technical Support
  11559.  
  11560. #: 33801 S11/Using ObjectPAL
  11561.     08-Jun-93  10:52:27
  11562. Sb: #Form.wait() from script
  11563. Fm: Mark K. Lamb 76247,1424
  11564. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  11565.  
  11566. I seem to be having a problem with opening and waiting on a form from within a
  11567. script. Following is an example of the code:
  11568.  
  11569. var
  11570.   F Form
  11571. endVar
  11572. F.open("main.fdl")
  11573. F.wait()
  11574. F.close()
  11575.  
  11576. The form "main" is setup as a window and not a dialog box. The problem I have
  11577. is that once I issue the wait my mouse no longer functions. The mouse will
  11578. move but when I click the mouse all I get is a beep. The problem does not
  11579. occur if I use F.openAsDialog("main.fdl") but I don't want my main form to be
  11580. a dialog box.
  11581.  
  11582. Any Ideas?
  11583. Thanks...
  11584.  
  11585. * Reply:  33889
  11586.  
  11587. #: 33889 S11/Using ObjectPAL
  11588.     08-Jun-93  15:12:17
  11589. Sb: #33801-#Form.wait() from script
  11590. Fm: Tarik Ghbeish =Sysop= 76711,643
  11591. To: Mark K. Lamb 76247,1424 (X)
  11592.  
  11593. You cannot issue a wait in a script.  You are basically telling the form you
  11594. are waiting on the be a child of the object that is performing the wait
  11595. (dialog boxes are exception since they aren't children). Scripts don't know
  11596. how to handle mouse events, so the mouse events (and other's) won't process.
  11597. PLace your code in a form.
  11598.  
  11599. Tarik
  11600.  
  11601. * Reply:  33903
  11602.  
  11603. #: 33903 S11/Using ObjectPAL
  11604.     08-Jun-93  15:56:21
  11605. Sb: #33889-#Form.wait() from script
  11606. Fm: Mark K. Lamb 76247,1424
  11607. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  11608.  
  11609. Thanks,
  11610.   It all makes sense now. BTW how and where can Iissue an exit() from an
  11611. application so that when I start Paradox back up it does not load the last
  11612. form I was in.
  11613.  
  11614. * Reply:  34206
  11615.  
  11616. #: 34206 S11/Using ObjectPAL
  11617.     09-Jun-93  18:30:19
  11618. Sb: #33903-Form.wait() from script
  11619. Fm: Tarik Ghbeish =Sysop= 76711,643
  11620. To: Mark K. Lamb 76247,1424
  11621.  
  11622. You'll need to do one of two things.  Either start up Paradox with the command
  11623. line option -c so it always starts with a clear desktop, or make sure your
  11624. application closes all forms before it does an exit.
  11625.  
  11626. Tarik
  11627.  
  11628. #: 33808 S11/Using ObjectPAL
  11629.     08-Jun-93  11:05:12
  11630. Sb: #Edit()
  11631. Fm: Mark Chapman 71061,2220
  11632. To: All
  11633.  
  11634. How do I use ObjectPAL from a method attached to Form A to get into edit mode
  11635. on Form B containing only fields which consist of text and edit regions?
  11636.  
  11637. If I use edit() it naturally tries to put the form with the code into edit
  11638. mode. I want to put into edit mode the form I just opened with a form
  11639. variable.
  11640.  
  11641. I believe edit() is for UIObjects. Since there is no tableframe how do I do
  11642. it?
  11643.  
  11644. Thanks, Mark
  11645.  
  11646. * Reply:  33890
  11647.  
  11648. #: 33890 S11/Using ObjectPAL
  11649.     08-Jun-93  15:12:20
  11650. Sb: #33808-Edit()
  11651. Fm: Tarik Ghbeish =Sysop= 76711,643
  11652. To: Mark Chapman 71061,2220 (X)
  11653.  
  11654. If the second form is not bound to a table you don't really need to be in edit
  11655. mode to edit it.  Otherwise try this :
  11656.  
  11657. f.open( "formName" )
  11658. f.edit()
  11659.  
  11660. Tarik
  11661.  
  11662. #: 33825 S1/Miscellaneous
  11663.     08-Jun-93  11:47:42
  11664. Sb: #paradox forms
  11665. Fm: RUSTIN BL 72204,3513
  11666. To: paradox ?
  11667.  
  11668. I have a table with quite a few fields. When trying to create a form I got the
  11669. message "won't fit in layout..." for several fields. I couldn't see a method
  11670. to get extra fields until I was in the design phase. After I got mor pages I
  11671. can't see how to get my missing fields to the form.
  11672.  
  11673. * Reply:  34194
  11674.  
  11675. #: 34194 S1/Miscellaneous
  11676.     09-Jun-93  18:25:22
  11677. Sb: #33825-paradox forms
  11678. Fm: Steve Neverve (Sysop) 71333,114
  11679. To: RUSTIN BL 72204,3513
  11680.  
  11681. Rustin,
  11682.  
  11683. The reason this happened is because PFW could not fit all of the fields in
  11684. the layout for the default screen.  To add the rest of the fields, goto
  11685. design mode.  Next, choose Form | Design Layout and click the select fields
  11686. button.  Here you can select all of your fields by clicking on the first
  11687. field and dragging downward.  Once you have done that, you then can add
  11688. fields by using the field tool on the SpeedBar. Next, right-click on the field,
  11689. choose Define Field, choose ... (the 3 dots), and select the field name from
  11690. the table on the left by clicking on the down arrow.
  11691.  
  11692. Steve
  11693.  
  11694. #: 33840 S5/Reports
  11695.     08-Jun-93  12:10:03
  11696. Sb: #suppress subsequent line
  11697. Fm: Robert D. Young 76450,3116
  11698. To: all
  11699.  
  11700. Is there a way to suppress "subsequent" items in a report? For example, I want
  11701. to print records with city and name fields in something that looks like:
  11702.  
  11703.    city1:          name1
  11704.                       name2
  11705.                       name3
  11706.    city2:          name1
  11707.                       name2   etc.
  11708.  
  11709. While I can "group" records and print the city in a group header band and the
  11710. detail records in the record band, I want to have them appear on the same
  11711. line, suppressing the second through nth occurence of the city name. Any
  11712. ideas?
  11713.  
  11714. * Reply:  33987
  11715.  
  11716. #: 33987 S5/Reports
  11717.     08-Jun-93  21:22:26
  11718. Sb: #33840-#suppress subsequent line
  11719. Fm: Murray Dowling 100032,2552
  11720. To: Robert D. Young 76450,3116 (X)
  11721.  
  11722. Put city field into the record band, nothing in the city group header. Then in
  11723. report design mode, select Report|Group Repeats from the menu. This will
  11724. suppress the subsequent city fields as required.
  11725.  
  11726. HERE'S THE BUG .............   (there has to be one <g> )
  11727.  
  11728. Group Repeats does not get saved with the report, so _E_V_E_R_Y_ time you want
  11729. to print the report, you have to go to design mode, select Group Repeats, and
  11730. manually print the report.
  11731.  
  11732. Tough luck if you wanted to print from a button with OPAL.
  11733.  
  11734. * Reply:  34088
  11735.  
  11736. #: 34088 S5/Reports
  11737.     09-Jun-93  12:20:22
  11738. Sb: #33987-#suppress subsequent line
  11739. Fm: Robert D. Young 76450,3116
  11740. To: Murray Dowling 100032,2552
  11741.  
  11742. CRAP! Screw that approach - Of course, I wanted it for an app that does "one
  11743. touch" printing....
  11744.  
  11745. How about this one: Is there a way to put the file name of the current report
  11746. in a field?
  11747.  
  11748. * Reply:  34181
  11749.  
  11750. #: 34181 S5/Reports
  11751.     09-Jun-93  17:44:24
  11752. Sb: #34088-suppress subsequent line
  11753. Fm: Ken Merson -Sysop- 76117,3146
  11754. To: Robert D. Young 76450,3116
  11755.  
  11756. The default in a report header includes an example of this field.
  11757.  
  11758. Define a field to be TableName in the Define Field dialog - the field is
  11759. selectable in the field list drop-down.
  11760.  
  11761. km :^,
  11762.  
  11763. #: 33861 S1/Miscellaneous
  11764.     08-Jun-93  13:27:23
  11765. Sb: #Win for Workgroups
  11766. Fm: Bodo Moellenbeck 100114,2131
  11767. To: all
  11768.  
  11769. Good morning,
  11770. PDoxWin 1.0 + Windows for Workgroups = possibly impossible ???
  11771. I've completly rewritten an existing P. 4.0 application under PDoxWin
  11772. under Win 3.1 - no problem. Installing PdoxWin under WfW also no problem,
  11773. but starting it or letting run any form - big problems.
  11774. Sometime the program itself crashes, somtimes it crashes after loading
  11775. a form, simple text-objects are not displayed, loading of the program
  11776. or any form takes at least five times longer.
  11777. So I called today your hotline in Germany and was told, that PdoxWin 1.0
  11778. has not been released for use under WfW yet ?!? Unfortunately the line
  11779. was interrupted afterwards, so I couldn't ask any further.
  11780. Now I ran through the manuals and saw on page 12 of the Introduction
  11781. manual, that PDoxWin can be used in ...-network or any other network,
  11782. which is 100 o/o compatible with Windows. I also saw here some discussions
  11783. regarding minor problems while running under WfW, so where
  11784. are the major problems?
  11785. I tried all possible ODAPI-configurations including Share-options, I didn't
  11786. use any specific multiuser-commands, I used one font (Arial) only, I shut down
  11787. the only other PC connected and and and.
  11788. So please tell me, if I have to wait for the next release or if I can solve
  11789. these problems otherwise? And if, when is such a release expected?
  11790. By the way, I'm in Germany, so I'm using the German versions, but I cannot
  11791. imagine, that the translations are responsible for this strange
  11792. behavior.
  11793. Best regards
  11794. Bodo Moellenbeck
  11795. Hamburg / Germany
  11796.  
  11797. #: 33862 S2/Install/CFG/HrdWare
  11798.     08-Jun-93  13:30:01
  11799. Sb: #Desktop Font
  11800. Fm: Harald Pitro 100024,2662
  11801. To: Sysop (X)
  11802.  
  11803. Is there a way to change the desktop font (icon font) within Paradox?
  11804.  
  11805. Sometimes I get a windows error in "user.exe", but my pdoxwin.ini is ok. If I
  11806. start windows again, the error doesn't occur. I think that the title of the
  11807. icons are longer than I can see (if you use another resolution you can see
  11808. it).
  11809.  
  11810. Thanks for any help
  11811. Harald
  11812.  
  11813. * Reply:  34003
  11814.  
  11815. #: 34003 S2/Install/CFG/HrdWare
  11816.     08-Jun-93  22:29:42
  11817. Sb: #33862-#Desktop Font
  11818. Fm: Richard Wagner (TeamB) 71333,2031
  11819. To: Harald Pitro 100024,2662 (X)
  11820.  
  11821. Harald,
  11822.  
  11823. Sorry, as far as I know, there is no way to adjust the icon font for the
  11824. Database Desktop. Do you get GPFs consistently?
  11825.  
  11826.                                        Richard Wagner
  11827.  
  11828. * Reply:  34130
  11829.  
  11830. #: 34130 S2/Install/CFG/HrdWare
  11831.     09-Jun-93  13:53:45
  11832. Sb: #34003-Desktop Font
  11833. Fm: Harald Pitro 100024,2662
  11834. To: Richard Wagner (TeamB) 71333,2031 (X)
  11835.  
  11836. Richard,
  11837.  
  11838. thanks for the deadly news <g>.
  11839.  
  11840. I get the GPF's consistently. I place a new icon at resolution 800x600 so that
  11841. the title doesn't overlapp (I don't find this word in my word book - excuse).
  11842. If I look at resolution 640x480 the title overlapp.
  11843. After some work the GPF comes at resolution 800x600, not at 640x480 (it was my
  11844. last idea to change the resolution to look if the USER error comes from the
  11845. titles). If I move the icon so that the title doesn't overlapp at 640x480, the
  11846. error is gone.
  11847.  
  11848. Thanks
  11849. Harald
  11850.  
  11851. #: 33863 S11/Using ObjectPAL
  11852.     08-Jun-93  13:33:24
  11853. Sb: #dialog box font color?
  11854. Fm: David Ellis 72240,370
  11855. To: SysOp (X)
  11856.  
  11857. Having trouble getting desired font and field color in a dialox box. A text
  11858. string is assigned to the one field on an unbound form.
  11859.  
  11860. In the field's arrive method an action(DataEnterPersistFieldView) yields the
  11861. desired screen colors, provided the form's window style is window.
  11862.  
  11863. When the form's window style is changed to dialog box, PW provides some other
  11864. color for font and field background at runtime. Field.font.color = Color has
  11865. no effect in the field's arrive method.
  11866.  
  11867. What OPAL will produce design-screen font and field color in a dialog box
  11868. field at runtime?
  11869.  
  11870. -- Dave
  11871.  
  11872. * Reply:  34214
  11873.  
  11874. #: 34214 S11/Using ObjectPAL
  11875.     09-Jun-93  18:30:44
  11876. Sb: #33863-dialog box font color?
  11877. Fm: Tarik Ghbeish =Sysop= 76711,643
  11878. To: David Ellis 72240,370
  11879.  
  11880. This shouldn't be any different for a dialog box than for a regular window.  I
  11881. tested this (although 've done it in unumerable forms before) again and had no
  11882. problem.  Maybe you have a damaged form.  The colors for should definately not
  11883. change when you merely change the dialog window style property.
  11884.  
  11885. Tarik
  11886.  
  11887. #: 33871 S4/Forms
  11888.     08-Jun-93  14:45:01
  11889. Sb: #Passing Arguments
  11890. Fm: Will Estes 74776,3676
  11891. To: SYSOP (X)
  11892.  
  11893. I need to pass a command-line switch to a paradox form.
  11894. Is there any way that I can get the startup form to
  11895. read the switch?  For example:
  11896.         pdoxwin -wc:\working -pt:\temp login.fdl -b
  11897. In the above I would want the -b to be read by
  11898. the login form's code rather than passed to PDOXWIN.EXE.
  11899. Any way to do this?
  11900. Thanks,
  11901. Will
  11902.  
  11903. * Reply:  33908
  11904.  
  11905. #: 33908 S4/Forms
  11906.     08-Jun-93  16:06:11
  11907. Sb: #33871-Passing Arguments
  11908. Fm: Quinn Wildman (Sysop) 76703,3033
  11909. To: Will Estes 74776,3676 (X)
  11910.  
  11911. Sorry, there's no way for a form to read a command line switch.
  11912.  
  11913. How about specifying a private directory on the command line?  Your form could
  11914. then read it and make a decision based on the private directory.  Another idea
  11915. is to specify a different pdoxwin.ini file on the command line and read the
  11916. application title in your form.
  11917.  
  11918. #: 33876 S3/Tables/TableView
  11919.     08-Jun-93  14:57:38
  11920. Sb: #not exact read/write
  11921. Fm: Gary Foster 72720,275
  11922. To: sysop (X)
  11923.  
  11924. When I am in a table and double click a certain memo field for a certain
  11925. record, I get the message 'not exact read/write'.  I cannot access the text in
  11926. the field in any report, form or querie.  What gives?
  11927.  
  11928. * Reply:  34085
  11929.  
  11930. #: 34085 S3/Tables/TableView
  11931.     09-Jun-93  11:53:44
  11932. Sb: #33876-not exact read/write
  11933. Fm: David Orriss Jr(Sysop) 75300,1414
  11934. To: Gary Foster 72720,275 (X)
  11935.  
  11936. Gary,
  11937.  
  11938.   Try rebuilding the table with TUTILITY.  See if that helps.
  11939.  
  11940. David
  11941.  
  11942. #: 33897 S8/Multi-User/Interop
  11943.     08-Jun-93  15:35:14
  11944. Sb: #Multiuser problems
  11945. Fm: steve quickel 70711,2231
  11946. To: sysop (X)
  11947.  
  11948. We are attempting to allow our users (1200 of them) to use PdoxWin from our
  11949. network.  All copies are pointing to a single directory on our NetWare file
  11950. server for network control files.
  11951.  
  11952. Unfortunately, it seems that when one user exits Pdox improperly, it can bring
  11953. all users of PdoxWin to a screeching halt. Sometimes, when one person re-boots
  11954. or locks, it makes it impossible for anyone else to access Pdox.  At other
  11955. times, it appears that both PDOXWIN.USR and PDOXUSRS.NET are corrupted, and
  11956. EVERYONE using PDOX locks up.  The only solution appears to be kicking
  11957. everyone out of PDOX, and overwriting the corrupt files with fresh ones.
  11958.  
  11959. This is the only solution that we have heard from Borland to date, and it is
  11960. not very acceptable.  Kicking everyone off Paradox when one person has made a
  11961. mistake or has had their PC lock up seems a bit extreme.  Isn't there any way
  11962. to handle this more transparently?
  11963.  
  11964. Thanks for help you might be able to give us.
  11965.  
  11966.      S. Quickel,  ARCO Chemical
  11967.  
  11968. * Replies:  33998, 34254
  11969.  
  11970. #: 33998 S8/Multi-User/Interop
  11971.     08-Jun-93  22:15:13
  11972. Sb: #33897-Multiuser problems
  11973. Fm: Cap Walker(TeamB) 70007,4651
  11974. To: steve quickel 70711,2231
  11975.  
  11976. Steve,
  11977.  
  11978. There's a couple things you might try as alternatives. First, GO PDOXDOS and
  11979. download the files Netdmp.ZIP and Lckdmp.ZIP. These will let you get
  11980. information about the state of the LCK and NET files. From that info you
  11981. should be able to pinpoint exactly what's causing the problem.
  11982.  
  11983. I haven't tried this, but have heard that it works ... create a Paradox Engine
  11984. program that will retry a lock at least 10 times. This will force an integrity
  11985. check on the NET file.
  11986.  
  11987. As an absolute last alternative, and if you don't have to use Paradox data
  11988. files for compatibility, then try using dBase format files. These do not use
  11989. NET or LCK files.
  11990.  
  11991. #: 34254 S8/Multi-User/Interop
  11992.     09-Jun-93  20:44:44
  11993. Sb: #33897-Multiuser problems
  11994. Fm: Robert Ramirez (Sysop) 76702,255
  11995. To: steve quickel 70711,2231
  11996.  
  11997. Hello Steve,
  11998.  
  11999. Sorry Steve, but when a user exits Pdoxwin improperly you have to get everyone
  12000. off and remove the PDOXWIN.USR and PDOXUSRS.NET files.  The key I think that
  12001. needs to be addressed here is: How are these users improperly exiting Pdoxwin
  12002. and what you can do to prevent this.  I understand how users can be, being one
  12003. of them, but if a user just shuts of the machine off, or exits another way,
  12004. then your compromising the data as well as having to go through this process.
  12005.  
  12006.  
  12007. ~Robert
  12008. Borland Tech. Support
  12009.  
  12010. #: 33898 S1/Miscellaneous
  12011.     08-Jun-93  15:38:23
  12012. Sb: #33317-#Sending Borland Messages
  12013. Fm: Dave Yuhas 72431,2360
  12014. To: Marlene Penry 71202,341 (X)
  12015.  
  12016. Marlene,
  12017.  
  12018. >I'm wondering about the right way to send information to Borland, for
  12019. >example bugs and wish list items.  I tried submitting two items to >"Borland"
  12020. but they still show as unread several days later.  Do I send this >type of
  12021. thing through sysops?   If so, can you access and process these >items or do I
  12022. need to resubmit them?  (One's in Miscellaneous and one's in >Reports, both
  12023. from me.)
  12024.  
  12025. Not to make a too big a deal out of this, but this is one of the dirty little
  12026. secrets about software support on CIS.  The flyers inserted by Borland into
  12027. the software packaging would have you believe you can get direct support from
  12028. Borland Technical Support on CIS.  The truth is you might - or you might not.
  12029.  
  12030. Borland, like Symantec and probably others as well, does not answer every
  12031. technical question posted in the Forum.  They rely either on other users or
  12032. knowledgeable users who are assigned this responsibility and given free access
  12033. time.  Only when the user is not getting the question answered does Borland
  12034. Technical Support provide help.
  12035.  
  12036. There's no way that I know of to send messages directly to Borland Technical
  12037. Support.  I know you can't do this in the Symantec Forum.
  12038.  
  12039. In reality this system functions pretty well.  What I don't like about it is
  12040. the fact that it's not explained in the promotional materials or in the Forum
  12041. - at least I haven't seen it.  Another thing that bothers me is the lack of
  12042. accountability.  If Borland says they support their software on CIS but in
  12043. reality relies on users, how much confidence can you have that the answer you
  12044. get is correct?  A wrong answer can slow down a project or, worse, doom it to
  12045. failure.
  12046.  
  12047. Borland could, if they wanted to, make their CIS support policy well known.
  12048. Why they and other software vendors don't is beyond me.
  12049.  
  12050. Dave Yuhas
  12051.  
  12052. * Replies:  33915, 34173
  12053.  
  12054. #: 33915 S1/Miscellaneous
  12055.     08-Jun-93  17:06:13
  12056. Sb: #33898-Sending Borland Messages
  12057. Fm: Don Schubert (TeamB) 70007,4654
  12058. To: Dave Yuhas 72431,2360
  12059.  
  12060. A few corrections. Borland sysops are bound to reply to msgs addressed to them
  12061. within 24 hrs during business working hours. Most of the time, they succeed,
  12062. but not 100% of the time. If a response is not answered within several days
  12063. (and not posted Fri-Mon), users should repost or reference the msg.
  12064.  
  12065. On this particular forum, Borland sysop responses far outnumber TeamB
  12066. responses and other knowledgeble user responses.
  12067.  
  12068. Finally, the msg volume on this forum has been intense since the forum opened.
  12069.  
  12070. Don
  12071.  
  12072. #: 34173 S1/Miscellaneous
  12073.     09-Jun-93  17:11:37
  12074. Sb: #33898-Sending Borland Messages
  12075. Fm: Quinn Wildman (Sysop) 76703,3033
  12076. To: Dave Yuhas 72431,2360
  12077.  
  12078. >..Another thing that bothers me is the lack of accountability.  If Borland
  12079. >..says they support their software on CIS but in reality relies on users, how
  12080. >..much confidence can you have that the answer you get is correct?
  12081.  
  12082. We READ all the messages.  If we see a response that is incorrect, what should
  12083. happen is that we'll pop in with whatever correction in necessary.  Using this
  12084. approach, all answers should be correct.
  12085.  
  12086. #: 33900 S11/Using ObjectPAL
  12087.     08-Jun-93  15:42:31
  12088. Sb: #openasdialog
  12089. Fm: George Ritter 76660,657
  12090. To: sysop (X)
  12091.  
  12092. I have an application where I want to keep a serial key where the starting
  12093. value is defined by the user. I have two forms, the main data entry form and
  12094. the second form which simply prompts for the starting value if no records have
  12095. ever been entered.
  12096.  
  12097. ***** I attached the following code to the dataentry form at the page level:
  12098.  
  12099. method action(var eventInfo ActionEvent) var
  12100.         tblHT           Table
  12101.         tblname String
  12102.         slipHF  Form
  12103.         retval  String endVar
  12104.  
  12105. if eventInfo.id() = DataInsertRecord then
  12106.         tblname = "SLIPMAST.DB"
  12107.         tblHT.attach(tblname)
  12108.         if tblHT.isEmpty() then
  12109.                 slipHF.openAsDialog("GETSLIP")
  12110.                 retval = String(slipHF.wait())
  12111.                 if retval = "OK" then
  12112.                         Slip_No.value = slipHF.start_slip.value
  12113.                 endIf
  12114.                 slipHF.close()
  12115.         endIf endIf
  12116.  
  12117. endmethod
  12118.  
  12119. ***** This is the code for the two pushbuttons on the popup form:
  12120.  
  12121. method pushButton(var eventInfo Event) formReturn("OK") endmethod
  12122.  
  12123. method pushButton(var eventInfo Event) formReturn("CANCEL") endmethod ****
  12124. This code is pretty much taken out of the developer's guide.  The problem is
  12125. that I get into an semi-infinte loop every time I press OK.  Each time I press
  12126. OK another instance of the popup form gets created.  I can physically touch
  12127. all of them.  When I press Cancel after many times pressing OK, ALL of the
  12128. popup (GETSLIP.FSL) forms get closed and a value is transferred to my
  12129. dataentry screen.
  12130.  
  12131. Even more intriguing, If I go into edit mode on the dataentry form, press
  12132. insert, the GETSLIP correctly pops up, if I press CANCEL and then insert again
  12133. (without ever leaving edit mode), the form works correctly when pressing OK.
  12134.  
  12135. And lastly, the popup (GETSLIP) is defined as a dialog form, if I say dialog
  12136. AND modal, I get a "PDOXWIN an error has occured in you application ...", "you
  12137. have attempted to access a design object that is not open"
  12138.  
  12139. I get the sneaky suspicion that the problem is that this code is on the page
  12140. level action method.
  12141.  
  12142. Do you have any ideas? George Ritter, UNICEF
  12143.  
  12144. * Reply:  34215
  12145.  
  12146. #: 34215 S11/Using ObjectPAL
  12147.     09-Jun-93  18:30:47
  12148. Sb: #33900-openasdialog
  12149. Fm: Tarik Ghbeish =Sysop= 76711,643
  12150. To: George Ritter 76660,657
  12151.  
  12152. >>method action(var eventInfo ActionEvent) var
  12153.         tblHT           Table
  12154.         tblname String
  12155.         slipHF  Form
  12156.         retval  String endVar
  12157.  
  12158. if eventInfo.id() = DataInsertRecord then
  12159.         tblname = "SLIPMAST.DB"
  12160.         tblHT.attach(tblname)
  12161.         if tblHT.isEmpty() then
  12162.                 slipHF.openAsDialog("GETSLIP")
  12163.                 retval = String(slipHF.wait())
  12164.                 if retval = "OK" then
  12165.                         Slip_No.value = slipHF.start_slip.value
  12166.                 endIf
  12167.                 slipHF.close()
  12168.         endIf endIf
  12169.  
  12170. endmethod
  12171.  
  12172. ______________________
  12173.  
  12174. Three things.  Remove the String from your wait statement.  It's redundant.
  12175. (shouldn' cause a problem though.  Eliminate the openAsDialog and use a
  12176. straight open.  openAsDialog is redundant since you can change the Window
  12177. Style through the open command or interactively (Properties | Form |
  12178. WindowStyle ).
  12179.  
  12180. The main problem : add a doDefault immediately after the test for
  12181. DataInsertRecord.  You want the record to be inserted before you try and add
  12182. the new record to the table, otherwise it won't work.  This is why it works
  12183. the second time you try the insert.
  12184.  
  12185. Tarik
  12186.  
  12187. #: 33901 S2/Install/CFG/HrdWare
  12188.     08-Jun-93  15:48:52
  12189. Sb: PW takes memory
  12190. Fm: Woody Splawn 73627,3541
  12191. To: ALL
  12192.  
  12193. I am in a situation where if I load Pw first while in Windows, I can't switch
  12194. to another program.  If I try I get a message of not enough memory. I have 8
  12195. megs.
  12196.  
  12197.        I can, however, load other programs first, like Word and then Switch to
  12198. PW and other programs and things go ok.   Does anyone know why or what I can
  12199. do so that it is not necessary to load PW first to switch between programs?
  12200.  
  12201. Woody
  12202.  
  12203. #: 33910 S11/Using ObjectPAL
  12204.     08-Jun-93  16:39:15
  12205. Sb: #break FOR loop
  12206. Fm: DEAN FERRA 72360,2500
  12207. To: sysop (X)
  12208.  
  12209. I'm in a FOR LOOP doing a search and would like to have a button for the user
  12210. to click to cancel the search in progress or break the loop. I did this in
  12211. PDOX 4.0 using CHARWAITING().  How do I duplicate that functionality in
  12212. PDOXWIN?  Thanks in advance for the help.
  12213.                                                 *DEAN*
  12214.  
  12215. * Reply:  34207
  12216.  
  12217. #: 34207 S11/Using ObjectPAL
  12218.     09-Jun-93  18:30:23
  12219. Sb: #33910-break FOR loop
  12220. Fm: Tarik Ghbeish =Sysop= 76711,643
  12221. To: DEAN FERRA 72360,2500
  12222.  
  12223. You don't use a for loop in Paradox for Windows, you use a timer event.  Place
  12224. an incmrenter on a timer method for your button (or object) and perform your
  12225. code there.  Set the timer using setTimer and kill it using killTimer.
  12226.  
  12227. Tarik
  12228.  
  12229. #: 33913 S5/Reports
  12230.     08-Jun-93  16:56:42
  12231. Sb: #output to a file
  12232. Fm: Tom Haley 72212,3477
  12233. To: Sysop (X)
  12234.  
  12235. Is there a way to direct the output of a report to an ascii file?
  12236.  
  12237. Sometimes the output needs massaged for reports......
  12238.  
  12239. thanks.
  12240. tom
  12241.  
  12242. * Reply:  34159
  12243.  
  12244. #: 34159 S5/Reports
  12245.     09-Jun-93  15:58:12
  12246. Sb: #33913-output to a file
  12247. Fm: Scott Arnett (Sysop) 76711,650
  12248. To: Tom Haley 72212,3477
  12249.  
  12250. Tom-
  12251.  
  12252. To output to an ASCII file you need to set up the Generic Print driver in
  12253. Windows Control Panel and set it to output to a file.  Then use that driver
  12254. to print your report.
  12255.  
  12256. -Scott
  12257.  
  12258. #: 33914 S1/Miscellaneous
  12259.     08-Jun-93  17:05:31
  12260. Sb: #Printing Crosstabs
  12261. Fm: Jackie Gardner 71730,1463
  12262. To: Anyone
  12263.  
  12264. Can Anyone tell me how to print a complete crosstab that does not fit inside
  12265. the window on screen?
  12266.  
  12267. * Replies:  34174, 34195
  12268.  
  12269. #: 34174 S1/Miscellaneous
  12270.     09-Jun-93  17:11:42
  12271. Sb: #33914-Printing Crosstabs
  12272. Fm: Quinn Wildman (Sysop) 76703,3033
  12273. To: Jackie Gardner 71730,1463
  12274.  
  12275. >Can Anyone tell me how to print a complete crosstab that does not fit inside
  12276. >the window on screen?
  12277.  
  12278. First, you'll want to save the crosstab to a table.  To do this, in design
  12279. mode of your form right click on the crosstab object and find out its
  12280. objectname.  The name will be something like #crosstab3.  Next, create a
  12281. button.  In the pushbutton method of the button enter:
  12282.  
  12283. #crosstab3.action(DataSaveCrossTab)
  12284.  
  12285. This will create crosstab.db in your private directory.  You can now create a
  12286. report based on this table and get the printout you desire.
  12287.  
  12288. #: 34195 S1/Miscellaneous
  12289.     09-Jun-93  18:25:25
  12290. Sb: #33914-Printing Crosstabs
  12291. Fm: Steve Neverve (Sysop) 71333,114
  12292. To: Jackie Gardner 71730,1463
  12293.  
  12294. Jackie,
  12295.  
  12296. You can choose File | Printer Setup | Modify Printer Setup and change the
  12297. orientation from portriat to landscape.  Otherwise you will need to make
  12298. sure that all of the objects are within the 8-1/2 * 11 margins.  You can use
  12299. the horizontal and vertical ruler to do this.  If your printer supports 8-1/2
  12300. * 14 (legal) paper, then you can use the above steps to change your paper to
  12301. legal size.  Finally, you can choose the tableframe, CTRL + right-click on
  12302. the tableframe, choose fonts | size, and select a smaller font size.  This
  12303. will shrink the font for the whole table.  CTRL +right-click allows you to
  12304. set parameters for all objects.
  12305.  
  12306. Steve
  12307.  
  12308. #: 33916 S9/Learning ObjectPAL
  12309.     08-Jun-93  17:08:16
  12310. Sb: #Constants Vs. Variables
  12311. Fm: Tim Ryan 70244,2276
  12312. To: SysOp (X)
  12313.  
  12314. Hey guys! I don't know if you remember my problem, but I solved it. You had
  12315. told me that I could not use a variable as a parameter for various methods,
  12316. yet they do if they are given a value in the same procedure or method. A
  12317. global variable alone would not solve the problem. For example, the LOCATE
  12318. method requires a constant for a field name and a constant for the value. If
  12319. you had a global variable, you would not be able to use their values unless
  12320. you assigned values to them before the LOCATE in the same method. The reason
  12321. why I noticed this, is that an example in the manual used a variable even
  12322. though it said it required constants.
  12323.  
  12324. * Reply:  34104
  12325.  
  12326. #: 34104 S9/Learning ObjectPAL
  12327.     09-Jun-93  12:54:55
  12328. Sb: #33916-Constants Vs. Variables
  12329. Fm: Robert Hall (Borland) 70674,513
  12330. To: Tim Ryan 70244,2276
  12331.  
  12332. When a method prototype specifies a constant for an argument -- for example,
  12333. search( const str String ) SmallInt --
  12334.  that means the argument is passed to the method as a constant and will not be
  12335. modified by the method. It doesn't mean that the argument must be a constant.
  12336. So, any of the following are OK:
  12337.  
  12338. var
  12339.    vs String endVar
  12340.  
  12341. const
  12342.    ks = String("This") endConst
  12343.  
  12344. vs = "This"
  12345.  
  12346.  ; The following are all legal. All will return the same value.
  12347. someString.search(vs) someString.search(ks) someString.search("This")
  12348.  
  12349. Hope this helps,
  12350.  
  12351. =Robert
  12352.  
  12353. #: 33917 S10/ObjectPAL Environ.
  12354.     08-Jun-93  17:09:12
  12355. Sb: #Const Window
  12356. Fm: Peter Friedland 71736,1406
  12357. To: sysop (X)
  12358.  
  12359. Hello,
  12360.  
  12361. I have a multi-page form which I have constants (in the CONST window) defined
  12362. for PageOne.  I would like to define constants for PageTwo but ObjectPal trys
  12363. to make CONSTs for PageTwo into a custom method.  If I add an additional page
  12364. to the form and try to add constants, it does the same thing.  Any ideas?
  12365.  
  12366. * Reply:  34046
  12367.  
  12368. #: 34046 S10/ObjectPAL Environ.
  12369.     09-Jun-93  02:52:59
  12370. Sb: #33917-#Const Window
  12371. Fm: Grant Carpenter 71412,3046
  12372. To: Peter Friedland 71736,1406 (X)
  12373.  
  12374. Try deleting the existing Const "custom method" for Page 2, save the form,
  12375. reopen, and see what happens.  I get something that sounds similar from time
  12376. to time (not on a multipage that I can recall) with Var and Const where
  12377. pdoxWin tries to make method Var(), etc. Highly annoying before I found a
  12378. fix...
  12379.  
  12380. Grant Carpenter
  12381. 71412,3046
  12382.  
  12383. #: 33921 S5/Reports
  12384.     08-Jun-93  17:22:46
  12385. Sb: #Vary Fields in Reports
  12386. Fm: Victor Sirelson 70550,3033
  12387. To:  76117,3146 (X)
  12388.  
  12389. I am trying to write a report which will receive the table and  field names
  12390. which will be used in the report by accessing a list or auxiliary table. I am
  12391. interested in any approach which will work, using Paradox or any other product
  12392. which writes reports for Paradox tables. I am trying to do this with Crystal
  12393. Reports by using a formula which returns the field names by reading my
  12394. auxiliary table (each record in the auxiliary table contains the information I
  12395. need: table name for the report, sort fields from the table, data fields from
  12396. the table, etc.), then receiving the returned field name and placing it into
  12397. an appropriate string. But there seems to be no facility for translating a
  12398. string such as {DataTable.Name} into the field DataTable.Name. Apparently I
  12399. can do what I want by using the Print Engine of Crystal Reports but it would
  12400. be much better if I can use some device such as I have described above.
  12401.  
  12402. I have a similar problem in trying to produce graphic reports such as pie
  12403. charts, since I only know of the PdoxWin capability. Crystal Reports does not
  12404. produce graphic reports. Is there another product which will produce graphic
  12405. reports? Is there any product which will enable a report to use programming
  12406. for solving my problem?
  12407.  
  12408. * Reply:  34182
  12409.  
  12410. #: 34182 S5/Reports
  12411.     09-Jun-93  17:44:32
  12412. Sb: #33921-Vary Fields in Reports
  12413. Fm: Ken Merson -Sysop- 76117,3146
  12414. To: Victor Sirelson 70550,3033 (X)
  12415.  
  12416. The first part of your question looks like it requires objectPAL to set up -
  12417. manipulating/printing reports based on the contents of a reference table.  Try
  12418. describing in a bit more detail what you are looking to do in a message in
  12419. section 9 or eleven.
  12420.  
  12421. Perhaps other will chip in, but none of the major paradox  report writers I
  12422. have heard of would do more for you with graphs. Perhaps there are some report
  12423. writers for dbase file formats which will do what you need.
  12424.  
  12425. If I have missed your question entirely, let me know and I'll try to be more
  12426. helpful.
  12427.  
  12428. km ;^,
  12429.  
  12430. #: 33929 S1/Miscellaneous
  12431.     08-Jun-93  17:52:42
  12432. Sb: #Paradox Win problems
  12433. Fm: Robert Friesen 70243,2437
  12434. To: sysop (X)
  12435.  
  12436. Hello, I am trying to learn and use pdox/win and am having several problems.
  12437. When I try to restructure a couple of my tables, it won't let me.  I have
  12438. closed the forms that include them, but it still won't let me restructure.  If
  12439. I restructure right when I load the program before opening a form, it will
  12440. work.
  12441. Now that I finally got the table to restructure, what field type can I use to
  12442. have a time field.  I have tried Alpha, Date, and Formated Memo, exept it
  12443. would not let me change to the Formated Memo.  I know how to get a time field
  12444. formated if I undefine a field, but I would like time in a defined field.
  12445. Thanks
  12446. Todd
  12447.  
  12448. * Reply:  34247
  12449.  
  12450. #: 34247 S1/Miscellaneous
  12451.     09-Jun-93  20:43:46
  12452. Sb: #33929-Paradox Win problems
  12453. Fm: Robert Ramirez (Sysop) 76702,255
  12454. To: Robert Friesen 70243,2437
  12455.  
  12456. Hello Robert,
  12457.  
  12458. >..When I try to restructure a couple of my tables, it won't let me...
  12459.  
  12460. Make sure that you have Share.exe loaded with the following parameters:
  12461.  
  12462. Share.exe /f:4096 /l:400
  12463.  
  12464.  
  12465. >..what field type can I use to have a time field?
  12466.  
  12467. You need to use an Alphanumeric field of around 12 characters to handle the
  12468. time.  The code that you would use would be something like:
  12469.  
  12470. <Timefield>.value = time()
  12471.  
  12472. You might place this in the arrive method of the timefield, or if your using a
  12473. Tableframe or MRO, in the arrive method of the record object.
  12474.  
  12475. Hope this helps...
  12476.  
  12477. ~Robert
  12478. Borland Tech. Support
  12479.  
  12480. #: 33932 S9/Learning ObjectPAL
  12481.     08-Jun-93  17:56:24
  12482. Sb: #Books on OPAL
  12483. Fm: Ruben L. Jimenez 71233,232
  12484. To: Randy Minder 73750,3601 (X)
  12485.  
  12486.   OK, you win. Like I said, I'm not using it: I'm just basing that comment on
  12487. observation of an experienced programmer friend who never seemed to have a
  12488. hard time learning anyhting else. Personally, I find Visual C++ to be
  12489. extremely easy to use (yes, that means I think MFC 2.0 is better than OWL- I'm
  12490. sure the Borland groupies will beat me up for that, too). I have found it
  12491. extermely easy from the first time I saw it. It looks like my cohort is having
  12492. a harder time adjusting to OPAL than I had adjusting to C++. That's all. I can
  12493. admit when I'm wrong. I guess it must be him.
  12494.   Am I the only one who sees similarities between OPAL and C++? To hear you
  12495. tell it, it's simpler than Visual Basic.
  12496.   Incidentally, on some of the other forums they're not so defensive about
  12497. someone voicing an opinion, even if it's wrong.
  12498.  
  12499. * Reply:  33988
  12500.  
  12501. #: 33988 S9/Learning ObjectPAL
  12502.     08-Jun-93  21:42:18
  12503. Sb: #33932-#Books on OPAL
  12504. Fm: Randy Minder 73750,3601
  12505. To: Ruben L. Jimenez 71233,232 (X)
  12506.  
  12507. Ruben,
  12508.  
  12509. I certainly don't have any problems with someone stating an opinion.  We all
  12510. have them.  What rubs me the wrong way sometimes is when the opinion is
  12511. obviously NOT based on fact or experience.
  12512.  
  12513. IMO, someone coming from a C/C++ background will not have a great deal of
  12514. trouble with the OPAL language itself.  I come from a C background and I find
  12515. the language very powerful and rather simple to pickup.  The hard part is
  12516. mastering PdoxWin's event model and all that it entails.
  12517.  
  12518. I think if you give PdoxWin a fair chance you will be astounded at how quickly
  12519. you can create very powerful Windows database apps.  I have been a C
  12520. programmer for 6 years and I used to be a rather hard core C bigot.  Not
  12521. anymore.  PdoxWin has shown me that C++ is not the language I want to use to
  12522. create Windows database applications.
  12523.  
  12524. Randy
  12525.  
  12526. * Reply:  34057
  12527.  
  12528. #: 34057 S9/Learning ObjectPAL
  12529.     09-Jun-93  08:43:10
  12530. Sb: #33988-#Books on OPAL
  12531. Fm: Ruben L. Jimenez 71233,232
  12532. To: Randy Minder 73750,3601 (X)
  12533.  
  12534.   I agree that someone coming from a C or C++ background will have a fairly
  12535. easy time picking up OPAL, by the looks of it. Unfortunately, my friend is a
  12536. PAL guru; he knows very little C, if any. So in OPAL he has to learn a whole
  12537. array of concepts at once: not so much the event model, which is present in
  12538. Paradox 4, but the object model, the concept of messages, bubbling, when to
  12539. override completely and when to call the base class (oops, the default)
  12540. method, the whole form-based model (an idea which I personally find to be a
  12541. little wierd, but that is just my opinion), etc.
  12542.   With Windows you can do your programming in straight C if you just want to
  12543. learn the API. You can do C++ after you get that down, if you like (which is
  12544. what I did). Or you can learn C++ and do DOS apps, putting off the API until
  12545. you have learned C++ fairly well. But in Pdoxwin, you have to take on
  12546. everything in one swallow. Which is both a C++-like language, and what amounts
  12547. to a Paradox API. My friend has to look up everything he does in that manual
  12548. with so few code samples (a complaint I have with Visual C++'s Class Library
  12549. Reference as well;  tech writers: there should be a small example of every
  12550. single method listed in the book- its already thick, another fifty pages isn't
  12551. going to hurt anything).
  12552.   That's probably the real problem: the manuals. Tech writers are great as far
  12553. as they go. But imagine if Petzold had never written Programming Windows; if
  12554. everyone had to rely only on the dreaded manuals. Ugh. I shudder to think
  12555. about it.
  12556.   Related question just for you: why do you suppose Windows manual tutorial
  12557. tech writers are so fond of paint programs? Programs that draw lines and
  12558. circles are not exactly on my clients top ten lists of things they want to be
  12559. able to do. Thats the one thing I really hated about the OWL tutorial. Now
  12560. Microsoft does the exact same thing with Visual C++. Hey! Has anyone ever
  12561. heard of documents with words in them?
  12562.  
  12563. * Reply:  34092
  12564.  
  12565. #: 34092 S9/Learning ObjectPAL
  12566.     09-Jun-93  12:38:30
  12567. Sb: #34057-Books on OPAL
  12568. Fm: Randy Minder 73750,3601
  12569. To: Ruben L. Jimenez 71233,232 (X)
  12570.  
  12571. Ruben,
  12572.  
  12573. "But in PdoxWin, you have to take on everything in one swallow."  Let's think
  12574. about this a little bit.  What do you have in PdoxWin?  You have a full
  12575. featured event driven, object based and Windows oriented RDBMS language. Also
  12576. included is a powerful query engine, report writer, data modeler and debugger.
  12577. Everything is designed to *work together*.  What's one of the best things
  12578. about all this?  I don't need to know how Windows works internally to write a
  12579. sophisticated Windows DB app.
  12580.  
  12581. Now, if I want to write Windows apps at the C level, what do I need?  I need a
  12582. C++ compiler (a C compiler will not suffice).  I need a UI package, like OWL
  12583. or MFC.  BTW, I don't think either one of those two packages provide the
  12584. functionality available in PdoxWin.  I need a RDBM engine.  I need a report
  12585. writer.  I, as of today, cannot purchase a query engine or data modeler. So, I
  12586. have all these tools (and I still don't have all the power available in
  12587. PdoxWin).  Were they designed to work together?  Absolutely not!  Do I still
  12588. need to understand Windows internals?  Absolutely.  I need to understand
  12589. intimately the Windows messaging system, memory allocation, the GDI for
  12590. graphics etc.  And, I absolutely need to understand C++ very well.  I cannot
  12591. work with OWL/MFC or any database engine with extensive understanding of C++
  12592. because all these packages are written in C++.
  12593.  
  12594. Finally and, IMO, most importantly, I can accomplish things in PdoxWin using
  12595. NO OPAL code which would require many hundreds or thousands of lines of C++
  12596. code.  And, what's even better, if PdoxWin is bug free, my application is bug
  12597. free because I haven't written *any* code.
  12598.  
  12599. Randy
  12600.  
  12601. #: 33933 S9/Learning ObjectPAL
  12602.     08-Jun-93  18:10:36
  12603. Sb: #Locate Value -- oy vey!
  12604. Fm: Dick Rubin 71531,2254
  12605. To: all
  12606.  
  12607. I'm working interactively with an existing 8 MB table.  If I inadvertently
  12608. choose Locate Value while the focus is on a field that's not indexed, or not
  12609. the current sort order, I get the hourglass cursor for > 5 minutes!
  12610.  
  12611. 1.  Is there any way to interrupt this process once I realize what's
  12612. happening?
  12613.  
  12614. 2.  What's a good OPAL approach to trapping for this situation and either
  12615. disallowing the the Locate if the specified field is not the current sort
  12616. order or -- much better -- testing to see if the current field HAS an index
  12617. and making that the sort order before proceeding with the Locate?  And where
  12618. on my form would the code be attached?
  12619.  
  12620. Thanks.
  12621.  
  12622. * Reply:  34023
  12623.  
  12624. #: 34023 S9/Learning ObjectPAL
  12625.     08-Jun-93  23:42:15
  12626. Sb: #33933-Locate Value -- oy vey!
  12627. Fm: Randy Sell (Sysop) 75300,2147
  12628. To: Dick Rubin 71531,2254 (X)
  12629.  
  12630. Dick-
  12631.  
  12632. >>1.  Is there any way to interrupt this process once I realize what's
  12633. happening?
  12634.  
  12635. Not to my knowledge.
  12636.  
  12637. >>2.  What's a good OPAL approach to trapping for this situation and either
  12638. disallowing the the Locate if the specified field is not the current sort
  12639. order or -- much better -- testing to see if the current field HAS an index
  12640. and making that the sort order before proceeding with the Locate?  And where
  12641. on my form would the code be attached?
  12642.  
  12643. Yes, this can be done but it takes a good understanding of the locate command
  12644. and secondary indexes...
  12645.  
  12646. A locate will use a secondary index if it is the "active" index. IOW it must
  12647. be the index presently in use.  So, if the table is not based on that index,
  12648. you must use a tCursor::switchIndex to use that index.
  12649.  
  12650. We can tell if the user is attempting to Locate by trapping for the constants
  12651. DataSearch, DataSearchNext or DataSearchReplace in the action method.  You can
  12652. tell which fields are part of a secondary index by using the
  12653. tCursor::enumIndexStruct method.
  12654.  
  12655. Recall: if the table has a compound secondary index (index is based upon more
  12656. than one field) all fields must be specified in the locate to use the
  12657. secondary index in the locate.  Also, locatePattern does not use primary or
  12658. secondary indexes under any circumstances.
  12659.  
  12660. Lastly, we can tell which field has focus by checking active.name
  12661.  
  12662. Soooo, to make a long story short it can be done, but it could get a little
  12663. ugly.  You know the current field, you can get a list of indexes (and their
  12664. names) and you can intercept the interactive Locate with your own Locate
  12665. dialog.  I would recommend doing all this on a tCursor and then resync your
  12666. field/record/tableframe to the tcursor.
  12667.  
  12668. Let us know how it all turn out.
  12669. Randy Sell
  12670. PDW Technical Support
  12671.  
  12672. #: 33934 S11/Using ObjectPAL
  12673.     08-Jun-93  18:14:08
  12674. Sb: #33019-#Clearing a list box
  12675. Fm: James Barrett 71330,3625
  12676. To: Dan Ehrmann (TeamB) 70007,4644
  12677.  
  12678. I tried to set count = 0 in the open method for the list object, but in
  12679. runtime, I get a message saying "Referenced object not visible". I wish
  12680. Borland had better documentation on list types and what attributes actually
  12681. exist...
  12682.  
  12683. Thanks, -James
  12684.  
  12685. * Reply:  34202
  12686.  
  12687. #: 34202 S11/Using ObjectPAL
  12688.     09-Jun-93  18:30:07
  12689. Sb: #33934-Clearing a list box
  12690. Fm: Tarik Ghbeish =Sysop= 76711,643
  12691. To: James Barrett 71330,3625
  12692.  
  12693. You'll need to issue a doDefault on the open method before you try to do
  12694. anything to the object.  It's not finished opening, so it cannot be referenced
  12695. at that point.
  12696.  
  12697. Tarik
  12698.  
  12699. #: 33939 S1/Miscellaneous
  12700.     08-Jun-93  18:26:43
  12701. Sb: #Aliases
  12702. Fm: david simpson 100022,3465
  12703. To: sysop (X)
  12704.  
  12705. I have stock files for four companies. Each company's files are located in a
  12706. separate sub directory. I can use aliasing to run the same query/ form/report
  12707. on each company but only if I close pdox after using one company before I
  12708. change the alias. If I use a report then close all the files used
  12709.  
  12710. then when I try to change the alias it states it is still in use when I select
  12711. the alias in the dialog box. any solution?
  12712.  
  12713. * Reply:  34113
  12714.  
  12715. #: 34113 S1/Miscellaneous
  12716.     09-Jun-93  13:08:57
  12717. Sb: #33939-#Aliases
  12718. Fm: Brian Reed (Sysop) 71333,2360
  12719. To: david simpson 100022,3465 (X)
  12720.  
  12721. David,
  12722.  
  12723. Are you doing this interactively or using OPAL?  If you're using OPAL then
  12724. post your message in Section #11 Using Object PAL.  If you are doing this
  12725. interactively, then walk me through the steps that bring you to the message
  12726. that the alias or report is still in use.  ex. File | Open | Report | Change
  12727. table.
  12728.  
  12729. With the steps I can try and reproduce this here and provide you with a
  12730. workaround.
  12731.  
  12732. Brian Reed (sysop)
  12733.  
  12734. * Reply:  34151
  12735.  
  12736. #: 34151 S1/Miscellaneous
  12737.     09-Jun-93  15:35:06
  12738. Sb: #34113-Aliases
  12739. Fm: david simpson 100022,3465
  12740. To: Brian Reed (Sysop) 71333,2360
  12741.  
  12742. Ok, files are stk93.db and stk92.db and there are copies of each of these
  12743. files in directories \pdoxwin\group\company1, ..\company2 etc the queries and
  12744. reports are in \pdoxwin\group. The report is based on a presaved query. The
  12745. query refers to the files stock\stk93.db and \stock\stk92.db. Stock is the
  12746. alias, initially defined and saved as \pdoxwin\group\company1.
  12747.  
  12748. I load pdoxwin then run the report which gives the appropriate output for
  12749. company 1. I then close the report and select file|alias to bring up the alias
  12750. dialog box. When the stock alias is selected it says (approx) database in use
  12751. cannot change path.
  12752.  
  12753. #: 33941 S1/Miscellaneous
  12754.     08-Jun-93  18:30:42
  12755. Sb: #Printing
  12756. Fm: david simpson 100022,3465
  12757. To: sysop (X)
  12758.  
  12759. When I try to print a form set up as landscape I get an error message
  12760. regarding paper orientation if the printer has not been changed to landscape.
  12761. First - I naively thought that windows was supposed to get rid of these
  12762. problems - if I tell the form to print in landscape then the printer should be
  12763. adjusted automatically. Second why no printer set up option from the warning
  12764. so that it isn't necessary to go back to the main menu.  The seams are
  12765. showing, nay splitting.
  12766.  
  12767. #: 33942 S4/Forms
  12768.     08-Jun-93  18:38:11
  12769. Sb: #Form|Deliver
  12770. Fm: James Barrett 71330,3625
  12771. To: all
  12772.  
  12773. Hello again,
  12774.  
  12775. I have a form which I'm trying to deliver.  When I click on Form|Deliver, I
  12776. get nothing, except that it runs the form.  No error messages, but no
  12777. FDL file either.  Any ideas why I would be unable to deliver?  The form runs
  12778. fine, no errors.
  12779.  
  12780. Thanks, -James
  12781.  
  12782. * Reply:  34047
  12783.  
  12784. #: 34047 S4/Forms
  12785.     09-Jun-93  05:33:58
  12786. Sb: #33942-#Form|Deliver
  12787. Fm: Stefan Germer 100066,365
  12788. To: James Barrett 71330,3625 (X)
  12789.  
  12790. Hi James,
  12791.  
  12792. Your available RAM is probably to low. I heard that several times from people
  12793. who have 4 MB RAM and some TSR's or Cache's loaded. If you're running SMARTDRV
  12794. set the parameter 256 to limit the cache size to 256 KB.
  12795.  
  12796. Hope this helps
  12797. Stefan
  12798.  
  12799. #: 34080 S4/Forms
  12800.     09-Jun-93  11:48:52
  12801. Sb: #34052-#Form|Deliver
  12802. Fm: Stefan Germer 100066,365
  12803. To: James Barrett 71330,3625 (X)
  12804.  
  12805. Today we ran into the same problem on a machine with 32 MB, so I suppose there
  12806. must be another reason for that too.
  12807.  
  12808. Stefan
  12809.  
  12810. * Reply:  34090
  12811.  
  12812. #: 34090 S4/Forms
  12813.     09-Jun-93  12:31:12
  12814. Sb: #34080-Form|Deliver
  12815. Fm: Rick Carroll 72133,1335
  12816. To: Stefan Germer 100066,365
  12817.  
  12818. I had the same problem and I spoke to Ryder at Borland Tech support.  It
  12819. appears that Paradox for WIn. has a problem if the ObjectPal code on your form
  12820. references UIObjects by their default name.  If you rename the default name
  12821. (ie. #button4 to ADDBUTTON) and then change your ObjectPal accordingly, the
  12822. form will deliver.  I made this change to all my forms and they all deliver
  12823. properly now.
  12824.  
  12825. #: 33945 S3/Tables/TableView
  12826.     08-Jun-93  18:53:54
  12827. Sb: #Automatic Date Entry
  12828. Fm: Robert B. Lamishaw 76416,773
  12829. To: all
  12830.  
  12831. Hi,
  12832.  
  12833. I'm new to Parodxo for Windows and am trying to create my first application.
  12834. So far it seems to be OK although I would like to have the computer
  12835. automatically entry a date (only no time) stamp in a field I have defined in
  12836. the table.  I want to know when the record was entered into  the system for
  12837. historical purposes only.  This filed will not be editable, it will only be
  12838. for view and search functions.  What I cann't figure out is how to make the
  12839. system fill in the field automatically.  I've used many other database systems
  12840. and most have a function that you define in the data dictionary that will
  12841. perform this function for you, similiar to the default option in Paradox.
  12842.  
  12843. If anyone can direct me how to do this I'd be most grateful.  I am hoping that
  12844. I don't have to get into ObjectPal at this point.  Thanks for the help.
  12845.  
  12846. * Reply:  34083
  12847.  
  12848. #: 34083 S3/Tables/TableView
  12849.     09-Jun-93  11:53:34
  12850. Sb: #33945-#Automatic Date Entry
  12851. Fm: David Orriss Jr(Sysop) 75300,1414
  12852. To: Robert B. Lamishaw 76416,773 (X)
  12853.  
  12854. Robert,
  12855.  
  12856. > So far it seems to be OK although I would like to have the computer
  12857. > automatically entry a date (only no time) stamp in a field I have defined
  12858. > in the table.
  12859.  
  12860. In table creation mode or table restructure mode, move to the date field in
  12861. your table structure format, Press Alt-4 (this moves you to the "Default"
  12862. prompt in the table restructure dialog), and type TODAY.  I hope this helps.
  12863.  
  12864. David
  12865.  
  12866. #: 33946 S2/Install/CFG/HrdWare
  12867.     08-Jun-93  18:54:05
  12868. Sb: #Access on Novell Network
  12869. Fm: Robert B. Lamishaw 76416,773
  12870. To: all
  12871.  
  12872. Hi,
  12873.  
  12874. I'm new to Parodox for Windows, although, I've used other databases for a long
  12875. time.  The problem I'm having is that I want to run Pardox from my computer
  12876. but store the data on the network.   When I try to save the data dictionary
  12877. (table) to my network drive (F:) it give me an error message saying that I am
  12878. not configured tor netwrok access.  Why does Parodox care where I store my
  12879. data?  I'm not asking for oncurrent multi-user access only to store the
  12880. information on a network drive (this is for automatic backup and security
  12881. reasons).  If someone could help me, or at least explain what Parodxo is
  12882. doing, I'd be most grateful.
  12883.  
  12884. I understand about program licenses and network authorizations, etc.  All I
  12885. want to do is store my data on a network drive with all Parodox programs on my
  12886. local drive.
  12887.  
  12888. Thanks for your help.
  12889.  
  12890. * Reply:  34044
  12891.  
  12892. #: 34044 S2/Install/CFG/HrdWare
  12893.     09-Jun-93  02:06:42
  12894. Sb: #33946-Access on Novell Network
  12895. Fm: Brian Bushay (TeamB) 76711,516
  12896. To: Robert B. Lamishaw 76416,773 (X)
  12897.  
  12898. Robert
  12899.  
  12900.  
  12901. >I understand about program licenses and network authorizations, etc.  All I
  12902. >want to do is store my data on a network drive with all Parodox programs on my
  12903. >local drive.
  12904.  
  12905. You need to be configured for Network access if you want to access data on a
  12906. network drive.  You need to run the ODAPI config utility and set the
  12907. location of the .net file.  This has to be on a network drive and all
  12908. network user should use the same loacation.  Chapter 15 of the Getting
  12909. started manual covers other Network configuration issues.
  12910.  
  12911. Brian
  12912.  
  12913. #: 33948 S4/Forms
  12914.     08-Jun-93  19:01:12
  12915. Sb: #33610-Where's record.CanDepart
  12916. Fm: Rick Fillman (Sysop) 76702,273
  12917. To: Gary Weinfurther 71521,2352 (X)
  12918.  
  12919.  > I have a single table form.  On this form is an "Edit" button.
  12920.  > What I want to do is keep the user from going to any other record
  12921.  > if they are in edit mode.  But the CanDepart() method applies to
  12922.  > fields, table frames, and the form, but NOT the record.  What's
  12923.  > the easiest eay in this case to determine of the user is moving
  12924.  > to a new record on the form?
  12925.  
  12926. You can have the RecordObect you are seeking, and keep the
  12927. present form appearance by create a BIG 1x1 MRO (multi-record
  12928. object).  Have it surround all your fields.  Now, the fields are
  12929. sitting ON the MRO, and no on the Page.  Thus, you have a place
  12930. to hang code the respond to record-level actions.
  12931.  
  12932.      Rick Fillman, Tech Support (Borland)
  12933.  
  12934. #: 33949 S4/Forms
  12935.     08-Jun-93  19:01:18
  12936. Sb: #33649-Switching tables in form
  12937. Fm: Rick Fillman (Sysop) 76702,273
  12938. To: John C. Yates 70262,1641 (X)
  12939.  
  12940.  > What is the best way to switch the tables used by a form, while
  12941.  > the form is open?  I have tried three ways: 1) closing then
  12942.  > re-opening the form using a FormOpenInfo structure to specify the
  12943.  > new table, 2) using dmRemoveTable and dmAddTable and the
  12944.  > TableName property, and 3) emptying the file while it's open then
  12945.  > refilling it with new info. The first approach seems slow and
  12946.  > visually unappealing.  With the second approach, the table frame
  12947.  > loses its formatting (custom column headers and column widths)
  12948.  > and there does not seem to be any way to control the links or
  12949.  > which fields appear in the resulting TableFrame. The third way
  12950.  > involves the extra overhead of copying all the records, but to
  12951.  > me, it seems like the best approach of the three.  I need to
  12952.  > switch tables because I am re-running queries based on user
  12953.  
  12954.  > What is the best way to switch tables?
  12955.  
  12956. It depends! <grin> Doesn't it?
  12957.  
  12958. If the tables are (always) small ... then 3).  Otherwise, due to the
  12959. problems you have noticed with 2) I'd favor 1).
  12960.  
  12961. If I had to try and circumvent the problems associated with
  12962. technique 2), I might try
  12963.  
  12964. Table.TableName=""
  12965. ; now it's undefined
  12966.  
  12967. And then re-bind column by column with
  12968.  
  12969. field.FieldName=<Table.Field>
  12970.  
  12971.      Rick Fillman, Tech Support (Borland)
  12972.  
  12973. #: 33961 S4/Forms
  12974.     08-Jun-93  19:19:15
  12975. Sb: Trapping DB Validation
  12976. Fm: Jeffrey L. Odell 71461,1064
  12977. To: Sysop (X)
  12978.  
  12979. I suspect this question has appeared in various forms on the forum, but I was
  12980. unable to find any.  Can you describe the best general strategy for trapping
  12981. violations of dtabase integrities?  I spent some time developing error
  12982. handling.  However, these integrity violations don't seem to be trapped as
  12983. errors.  Specifically:
  12984.  
  12985.    Duplicate Primary Keys
  12986.    Missing Mandatory Fields
  12987.    Erroneous Foreign Key Values
  12988.  
  12989. It surprises me that the default funtionality when trying to depart a record
  12990. is to silently refuse to leave, without a message.  I suspect this implies a
  12991. canDepart method on the record as the place to handle this stuff.
  12992.  
  12993. This seems like a good subject for a Technical Bulliten.  By the way, the
  12994. others are very helpful.
  12995.  
  12996. Jeff Odell
  12997. Network InfoServe
  12998.  
  12999. #: 33967 S1/Miscellaneous
  13000.     08-Jun-93  19:40:40
  13001. Sb: #Table pointers
  13002. Fm: Mitch Alexander 76020,3621
  13003. To: Sysop 76711,643 (X)
  13004.  
  13005. Anybody have an idea?
  13006. Here's a tough one.....
  13007.  
  13008. I'm working on an application that involves a customer database "CUST.DB". I
  13009. have a numeric field named "LINK" in this database. The idea is that LINK
  13010. allows the user to point to another record in the SAME database. This allows
  13011. for tying multiple records together - i.e. defining a family - the kids'
  13012. records point to the father or mother's record, etc.
  13013. (record1.LINK=recordxxx.ID_NUM)
  13014.  
  13015. Here's the problem - I need LINK to be a table lookup field. PDOXWIN won't
  13016. allow a table to lookup itself. I tried creating an alias and using this on
  13017. the right side of the lookup definition, but PDOXWIN figured out what I was
  13018. trying to do and stopped me!
  13019.  
  13020. Is there any way to do this?
  13021.  
  13022. * Reply:  34176
  13023.  
  13024. #: 34176 S1/Miscellaneous
  13025.     09-Jun-93  17:11:48
  13026. Sb: #33967-Table pointers
  13027. Fm: Quinn Wildman (Sysop) 76703,3033
  13028. To: Mitch Alexander 76020,3621
  13029.  
  13030. The way I'd do this is via a recursive file relationship.  In other words, by
  13031. linking the file to itself.  To do so, first create an alias that points to
  13032. your working directory.  Next, in your form, add a second copy of the table to
  13033. the data model via the alias.  You can now relation the file to itself, and I
  13034. think you'll have what you want.
  13035.  
  13036. #: 33970 S5/Reports
  13037.     08-Jun-93  20:14:02
  13038. Sb: #Grouping data
  13039. Fm: David Dinsmore 72630,1542
  13040. To: Anyone
  13041.  
  13042. Trying to setup a report that will perform a calculation on a field based on a
  13043. previous value in the record.  Problem is when I try to perform an
  13044. IIF([SUB_JOBS.code]="PSE",[CUR_RATE.PSE Rate],1) it wants to perform a SUM on
  13045. the SUB_JOBS.code.  It works fine on my form but not on the report.  My
  13046. relationships are the same....
  13047.  
  13048. * Reply:  34157
  13049.  
  13050. #: 34157 S5/Reports
  13051.     09-Jun-93  15:58:02
  13052. Sb: #33970-#Grouping data
  13053. Fm: Scott Arnett (Sysop) 76711,650
  13054. To: David Dinsmore 72630,1542 (X)
  13055.  
  13056. David-
  13057.  
  13058. Is the SUB_JOBS a detail with a One to Many relationship with the master?  If
  13059. so, is the calculated field in the multirecord object or table frame?
  13060.  
  13061. -Scott
  13062.  
  13063. * Reply:  34230
  13064.  
  13065. #: 34230 S5/Reports
  13066.     09-Jun-93  19:15:29
  13067. Sb: #34157-Grouping data
  13068. Fm: David Dinsmore 72630,1542
  13069. To: Scott Arnett (Sysop) 76711,650
  13070.  
  13071. Here is what I am trying to accomplish:
  13072. I have a table of SUBJOBS that holds a code(PSE,FSE, or ODC), each month data
  13073. gets entered into a table NEWMONTH, all previous monthly data is held in a
  13074. RUNNING database.  When the person requests this report I use a SCAN to move
  13075. all data from NEWMONTH and RUNNING to an ALLMONTH table.  Among the data I
  13076. need to put on the table is all the records with the code PSE.
  13077.  
  13078. I'm looking to use a QBE, but not exactly sure how....
  13079.  
  13080. #: 33975 S11/Using ObjectPAL
  13081.     08-Jun-93  20:44:48
  13082. Sb: #Status of CPAL.ZIP code?
  13083. Fm: Murray Dowling 100032,2552
  13084. To: All
  13085.  
  13086. The DLL functions in CPAL.ZIP are IMHO a necessary extension to PDox. Sending
  13087. messages and passing arguments to DLLs are essential for any development tool
  13088. claiming to support Windows functionality (as Borland do for PDoxWin).
  13089.  
  13090. Then why, oh why, oh why aren't these functions documented?  Who loses if
  13091. Borland provide better access for developers? Only Microsoft, CA etc. as
  13092. developers will be able to produce the program functionality they require
  13093. without jumping across to competing products.
  13094.  
  13095. But the real worry with "unsupported" software is "Version Shock". What
  13096. happens with V1.1 or V2.0?  Will the CPAL code still work?  Yeah, I know you
  13097. don't support it and can't guarantee it, but inquiring minds (and _CUSTOMERS_
  13098. of yours, remember!) want to know.  Unless Borland is completely stupid there
  13099. should be increasing access from C++ to OPAL and Tables. Remember that you
  13100. will sell us C++ compilers too then <g>.  I think the PxEngine DLL should not
  13101. be required as PDoxWin _MUST_ have all that functionality (and more) in it's
  13102. own DLLs.  (After all, how many floppy disks are we already going to have to
  13103. provide for our application's installation?)
  13104.  
  13105. Q.  Will you pull the plug on me if I rely on CPAL interface?
  13106.  
  13107. The Neatest correct definitive answer wins a pat on the back.
  13108.  
  13109. * Reply:  34229
  13110.  
  13111. #: 34229 S11/Using ObjectPAL
  13112.     09-Jun-93  19:14:32
  13113. Sb: #33975-Status of CPAL.ZIP code?
  13114. Fm: Tarik Ghbeish =Sysop= 76711,643
  13115. To: Murray Dowling 100032,2552
  13116.  
  13117. >>Then why, oh why, oh why aren't these functions documented?
  13118.  
  13119. Unsupported means that we may need to change the function, better test the
  13120. function, or that it was designed for our own testing, not for public
  13121. consumption.  It may be that the implementation of a function is not complete.
  13122. Until a decision is reached about the functions or their implementation, they
  13123. stay undocumented for the customer's protection.  How would you like it if we
  13124. documetned an interface and then changed how it worked in a later version.
  13125.  
  13126. >>But the real worry with "unsupported" software is "Version Shock". What
  13127. happens with V1.1 or V2.0?  Will the CPAL code still work?  Q.  Will you pull
  13128. the plug on me if I rely on CPAL interface?
  13129.  
  13130. I'll see if I can get any info on this, but unless/until we officially support
  13131. this function, I would have to say "No, you cannot rely on this interface
  13132. since we cannot guarantee that it will be there in a future version, or that
  13133. it will work the same if it is there".
  13134.  
  13135. I agree with you that it is to our advantage to provide better integration
  13136. with C++ and other languages that can call DLL's, but it is not to our
  13137. advantage to willy-nilly throw out functionality without thinking it through.
  13138. You can look at a lot of other products and the "bloat" they acquire to see
  13139. evidence of the problems this creates.  I hope to see more integration in the
  13140. future, but what we have now isn't bad.
  13141.  
  13142. Tarik
  13143.  
  13144. #: 33976 S5/Reports
  13145.     08-Jun-93  20:45:00
  13146. Sb: NumOfPages dies w/RPInfo
  13147. Fm: Murray Dowling 100032,2552
  13148. To: All
  13149.  
  13150. When a report includes the special field "Number Of Pages" (as in Page 1 of 7)
  13151. any attempt to print a single page using Start/EndPage in ReportPrintInfo
  13152. _FAILS COMPLETELY_.  Instead _ONLY_ page 1 is printed, no matter what page has
  13153. been requested.
  13154.  
  13155. The problem is "avoided" by removing the "Number Of Pages" special field, but
  13156. I have clients who are _REALLY IMPRESSED_ that I put that into their reports.
  13157. Consequently, I put it into 30 reports.  Now I will have to edit them all
  13158. back, _AND_ tell the client that the "Page 1 of 7" footer will have to go.  I
  13159. AM NOT IMPRESSED!!!!!!!!!!!!
  13160.  
  13161. The report works interactively or without ReportPrintInfo or without "Number
  13162. Of Pages". But I have promised automated (read OPAL) report control, promised
  13163. "Number Of Pages" and require ReportPrintInfo.
  13164.  
  13165. No apologies to BI if this is a "known bug", because they didn't bother to
  13166. tell US about it.
  13167.  
  13168. #: 33979 S1/Miscellaneous
  13169.     08-Jun-93  21:02:25
  13170. Sb: #33242-DC Index:18
  13171. Fm: Robert Ramirez (Sysop) 76702,255
  13172. To: Martin 100270,3472 (X)
  13173.  
  13174. Hello Martin,
  13175.  
  13176. At around the 10% level, P4W checks the printer device description and what
  13177. fonts are available.  It seems that some printer drivers do not respond
  13178. correctly to the capability enquiries P4W can make.  Also, a very large number
  13179. of fonts (> 130, I'm not sure what the actual threshold is) can cause
  13180. problems, as also can disabling non-TT fonts (this is an option in the Font
  13181. Manager, but we use some non-TT fonts).
  13182.  
  13183. So, things to do include ensuring non-TT fonts are enabled, and if your fonts
  13184. exceed a hundred it may be worth pruning some out.  Also, you might try
  13185. installing a "vanilla" print driver if you have an unusual one, and ensure
  13186. your printer driver is a Win3.1 vintage (Win3.1 upgrade does not replace your
  13187. 3.0 printer driver, you must do that explicitly, so many people still have
  13188. older print drivers without realising it).
  13189.  
  13190. ~Robert
  13191. Borland Tech. Support
  13192.  
  13193. #: 33980 S1/Miscellaneous
  13194.     08-Jun-93  21:02:30
  13195. Sb: #33251-Listboxes Sorting
  13196. Fm: Robert Ramirez (Sysop) 76702,255
  13197. To: Peter Boschman 100270,147
  13198.  
  13199. Hello Peter,
  13200.  
  13201. LIST boxes sort order is determined by the Primary index of the table.  If you
  13202. want to change the way this list box displays, your going to need to write
  13203. ObjectPal code that will use a sorted temp. table  that you would create
  13204. on-the-fly using TCursors.  You then would simply use the Self.Datasource =
  13205. "sorted.sortedfield" to display the sorted listbox.
  13206.  
  13207. ~Robert
  13208. Borland Tech. Support
  13209.  
  13210. #: 34000 S11/Using ObjectPAL
  13211.     08-Jun-93  22:20:08
  13212. Sb: #TCursor
  13213. Fm: Marc Zev 70610,615
  13214. To: Tarik Ghbeish =Sysop= 76711,643 (X)
  13215.  
  13216. Tarik, I didn't catch the beginning of this thread but it sounds as though the
  13217. problems Rod is having are similar to the TCursor problems I am having.
  13218.  
  13219. I am attempting to make modifications to a table using UIObjects and TCursors
  13220. at the same time with unexpected results and lock-ups.
  13221.  
  13222. -Marc
  13223.  
  13224. * Reply:  34210
  13225.  
  13226. #: 34210 S11/Using ObjectPAL
  13227.     09-Jun-93  18:30:32
  13228. Sb: #34000-TCursor
  13229. Fm: Tarik Ghbeish =Sysop= 76711,643
  13230. To: Marc Zev 70610,615
  13231.  
  13232. >>
  13233. I am attempting to make modifications to a table using UIObjects and TCursors
  13234. at the same time with unexpected results and lock-ups.
  13235.  
  13236. Don't.  TCursors and UIObjects cannot point to and edit the same record at the
  13237. same time.  It's like asking two users to edit the same record.  If you need
  13238. to access fields not placed on a form when you are accessing a record through
  13239. a UIObject, use dmPut and dmGet.  If you need to sync a TCursor to a UIObject
  13240. or vice versa, make sure that you have first posted the record or it won't
  13241. work.  The modified record is in a record buffer that cannot be accessed by
  13242. the other object type until it is posted into the table.
  13243.  
  13244. Tarik
  13245.  
  13246. #: 34035 S1/Miscellaneous
  13247.     09-Jun-93  00:58:08
  13248. Sb: #33267-Superbase
  13249. Fm: Charles Yuen 70313,3010
  13250. To: Karen Crisp 71033,736 (X)
  13251.  
  13252. Karen--
  13253.         Superbase is supported on CIS:  GO SPCFORUM, Section 16.  You can
  13254.         post your questions there, but in the meantime, I'll say SB is: (1)
  13255.         excellent on 386/SX w/4 meg of ram; (2) fast, and especially fast on
  13256.         screen related functions and scrolling; (3) not as easy to generate
  13257.         apps as ObjectVision, probably, but also can generate more
  13258.         sophisticated apps than ObjectVision; (4) can add features through
  13259.         DLL's; (5) runtime is sold via a developer's edition which includes
  13260.         a SQL library and cost me about $420 as an upgrade, but prices are
  13261.         moving down; (6) runtime is easy to use. WRT (3), SB has a visual
  13262.         programming layer, which is object-based, but which generates
  13263.         procedural code; almost anything you do in SB can be converted
  13264.         easily into code, via direct saves of objects/forms/form pages, etc.
  13265.         or via use of macro recorder.  The runtime is especially powerful,
  13266.         and I am continually being amazed at what I can accomplish in the
  13267.         product.  (I am a lawyer, not a programmer.)
  13268.         --Chaz
  13269.  
  13270. #: 34042 S11/Using ObjectPAL
  13271.     09-Jun-93  01:50:23
  13272. Sb: #Disable Alt key
  13273. Fm: Scott Basham 73042,2410
  13274. To: Mike Irwin/Co-Assist 100114,1437 (X)
  13275.  
  13276. Thanks!! I hadn't realized the form object was there, because you can't click
  13277. on it.  Today I found 2 ways to access it -- through the object hierarchy and
  13278. by right-clicking on the header of the non-maximized form.  I wish I had konwn
  13279. this about 2 months ago!!
  13280.  
  13281. >the code looks ok, but you shouldn't need to place it _EVERYWHERE_ !!!!!!
  13282. >
  13283. >Put it into the form's keyPhysical() (not the page's !) and take a look at
  13284. the on-line >doc for isPreFilter()
  13285.  
  13286. * Reply:  34203
  13287.  
  13288. #: 34203 S11/Using ObjectPAL
  13289.     09-Jun-93  18:30:09
  13290. Sb: #34042-Disable Alt key
  13291. Fm: Tarik Ghbeish =Sysop= 76711,643
  13292. To: Scott Basham 73042,2410
  13293.  
  13294. You can also get to the form by clicking on the white space outside a page (
  13295. if your form has a smaller page, resize the window in design mode to larger
  13296. then the page to see the background area), OR by using the menus : Properties
  13297. | Form | Methods
  13298.  
  13299. Tarik
  13300.  
  13301. #: 34049 S2/Install/CFG/HrdWare
  13302.     09-Jun-93  07:08:46
  13303. Sb: #33371-Smartdrv - Corrupt table
  13304. Fm: Duesburys 100032,641
  13305. To: Mike Irwin/Co-Assist 100114,1437 (X)
  13306.  
  13307. Thanks for the reply Mike...
  13308.  
  13309. Some further investigation revealed that the two tables which were corrupted
  13310. were being emptied within the custom method and then subject to a large number
  13311. of writes. When I took the EMPTY() statements out and put them in the
  13312. PUSHBUTTON() method prior to calling the custom method everything worked fine.
  13313.  
  13314. The problem could probably still be linked to caching since the EMPTY()
  13315. statement has worked fine in other methods where the writes have been less
  13316. intensive.
  13317.  
  13318. #: 34051 S11/Using ObjectPAL
  13319.     09-Jun-93  07:34:28
  13320. Sb: non-US date() probem
  13321. Fm: Christoph Schifferli 100010,3542
  13322. To: all
  13323.  
  13324. date() alsways seems to return a string formatted according to US-rules, no
  13325. matter what the configuration of PdoxWin is.
  13326.  
  13327. Also, I think there is a discrepancy in the setFilter() vs. the locate()
  13328. methods, when used with dates.
  13329.  
  13330. If I supply setFilter with a string formatted as a date, the filter does not
  13331. work as expected. I have to give it a date-variable.
  13332.  
  13333. locate() works only with date-string, but not with date-variables.
  13334.  
  13335. This holds for european dates.
  13336.  
  13337. Is this a known bug? (or none)
  13338.  
  13339. - christoph -
  13340.  
  13341. #: 34064 S5/Reports
  13342.     09-Jun-93  09:48:13
  13343. Sb: #Page Break
  13344. Fm: KURT ALBRECHT 72053,3070
  13345. To: Scott Arnett 76711,650 (X)
  13346.  
  13347. I was trying to insert a page break in my report today and i kept getting the
  13348. message that page breaks cannot cross objects.  I have made plenty of room for
  13349. the page break by moving the band bar and there are no visable fields or text
  13350. boxes where I want to insert my page break.  Whats wrong
  13351.  
  13352. * Reply:  34272
  13353.  
  13354. #: 34272 S5/Reports
  13355.     09-Jun-93  22:46:53
  13356. Sb: #34064-Page Break
  13357. Fm: Gail Meisner (TeamB) 71333,2143
  13358. To: KURT ALBRECHT 72053,3070
  13359.  
  13360. Kurt-
  13361.  
  13362. You can get this message if your report bands don't have their Breakable
  13363. property checked.
  13364.  
  13365. Gail
  13366.  
  13367. #: 34065 S11/Using ObjectPAL
  13368.     09-Jun-93  09:55:41
  13369. Sb: Password Fields?
  13370. Fm: John Marchioli 71333,622
  13371. To: Technical Support
  13372.  
  13373. Is there a way to create a password field?  That is, as the user types into
  13374. the field, a special character (like "*") appears instead of the character the
  13375. was really typed?
  13376.  
  13377. If not, then I suspect I have to do some bogus hidden field stuff and send the
  13378. character typed to the hidden field and send the "*" to the password field?
  13379. If so, how do I handle when the user highlights the hole field and deletes the
  13380. selected text?  Is there an easier way than to deal with the details?
  13381.  
  13382. John Marchioli
  13383.  
  13384. #: 34068 S11/Using ObjectPAL
  13385.     09-Jun-93  10:33:45
  13386. Sb: Segment Load Failure
  13387. Fm: Michael Riccio 71204,214
  13388. To: Mark K. Lamb 76247,1424
  13389.  
  13390. Looks as though FILE HANDLES = 109 has cleared up most of my Segment Load
  13391. Failure problems, although I'm not sure why.
  13392.  
  13393. Thanks for the help.
  13394.  
  13395. Mike
  13396.  
  13397. #: 34070 S1/Miscellaneous
  13398.     09-Jun-93  11:06:46
  13399. Sb: #33106-Memo fields
  13400. Fm: Greg  T. Molnar 71552,2276
  13401. To: Robert Ramirez (Sysop) 76702,255 (X)
  13402.  
  13403. Thanks,
  13404.  
  13405. also I have had a problem with my system locking up when I attempt to place a
  13406. summary field in a group band of a report.  Any ideas?
  13407.  
  13408. #: 34076 S6/Queries
  13409.     09-Jun-93  11:38:18
  13410. Sb: #Odd result w/blnk in qry
  13411. Fm: Ben Holton (Sysop) 76704,32
  13412. To: Richard Biffl 73607,3043 (X)
  13413.  
  13414. >It seems that there should be some way to do a CALC COUNT ALL query to get a
  13415. >count of how many records do not have N, E, or blank as the Pat Type, but I
  13416. >have not found any way to do that in one query.
  13417.  
  13418. Richard (and Leonard),
  13419.  
  13420. You can get a count of how many records do not have a certain entry or entries
  13421. in them, such as N or S.  In that field in the query, type in "NOT N, CALC
  13422. COUNT ALL" but don't checkmark any fields.  You can put as many lines in the
  13423. query in this same field for as many entries that you want to check for, such
  13424. as S or BLANK.
  13425.  
  13426. Ben Holton
  13427.  
  13428. #: 34093 S5/Reports
  13429.     09-Jun-93  12:39:01
  13430. Sb: #Multi-Calc Report
  13431. Fm: David Dinsmore 72630,1542
  13432. To: Anyone
  13433.  
  13434. If I want to have a summary report that will be doing calculations on fields
  13435. based on other fields in the record am I better off just doing all the work in
  13436. a form, store the values in a table and then print the report with that table?
  13437.  
  13438. * Reply:  34160
  13439.  
  13440. #: 34160 S5/Reports
  13441.     09-Jun-93  15:58:17
  13442. Sb: #34093-Multi-Calc Report
  13443. Fm: Scott Arnett (Sysop) 76711,650
  13444. To: David Dinsmore 72630,1542 (X)
  13445.  
  13446. David-
  13447.  
  13448. Try building a query that does the first calculation, and then save that
  13449. query, and base the report on the QBE file.  Then in the report sum up the
  13450. calculated fields.  That way you don't have to save the calculation in the
  13451. table.  The query will execute automatically when the report is run.
  13452.  
  13453. -Scott
  13454.  
  13455. #: 34094 S11/Using ObjectPAL
  13456.     09-Jun-93  12:40:52
  13457. Sb: #Window Styles?
  13458. Fm: John Marchioli 71333,622
  13459. To: Technical Support
  13460.  
  13461. I am opening four forms from a library.  I would like them to be hidden and
  13462. without maximize, minimize, and control box controls.  This doesn't work:
  13463.  
  13464. method Init () Logical var
  13465.        m_frm1, m_frm2, m_frm3, m_frm4 Form endVar
  13466.  
  13467.        m_frm1.open (":TEST:FORM1", WinStyleHidden)
  13468.        m_frm2.open (...
  13469.                etc.
  13470.  
  13471. endMethod
  13472.  
  13473. Could someone give the low-down on the window styles?  It seems that the
  13474. hidden window style gets overwritten if it is added with things like
  13475. WinStyleMaximize, etc.  Should I just use the SDK ShowWindow ()?
  13476.  
  13477. John
  13478.  
  13479. * Reply:  34258
  13480.  
  13481. #: 34258 S11/Using ObjectPAL
  13482.     09-Jun-93  20:59:02
  13483. Sb: #34094-Window Styles?
  13484. Fm: Rod  Niner 72673,2130
  13485. To: John Marchioli 71333,622
  13486.  
  13487. I think you may need to use openAsDialog instead of open to get this feature.
  13488. Also it may be necessary to add the property constants see table 8-4 p200 of
  13489. objectpal developers guide
  13490.  
  13491. #: 34108 S5/Reports
  13492.     09-Jun-93  13:04:02
  13493. Sb: Report w linked query
  13494. Fm: Michael Meservy 76656,300
  13495. To: Sysop (X)
  13496.  
  13497. I am trying to link a query with a standard data base file.  As I am trying to
  13498. add fields to the report layout.  I define a field on the report then choose
  13499. select field from object definition pop-up.  When I try to select any of the
  13500. fields from the data base file the fields are enclosed in a function like
  13501. count(field_name).  The query has many records to one record in the data base
  13502. file.  Why can't I just get the record field without the functions when I
  13503. select fields from the file?  Is there something I need to do different when
  13504. defining the link???   Thanks for your help
  13505.  
  13506. #: 34109 S13/Addins/Training
  13507.     09-Jun-93  13:07:19
  13508. Sb: #Paradox Users Conference
  13509. Fm: Alan Zenreich 71171,1340
  13510. To: PALs
  13511.  
  13512. Greetings,
  13513.  
  13514. * Are you hungry for the latest Paradox techniques and tips?
  13515. * Do you want to pick the brains of some of the best Paradox talent
  13516.   around?
  13517. * Do you miss the intimacy of a conference that deals only with
  13518.   Paradox and Paradox for Windows?
  13519. * Does your boss refuse to send you to the West Coast?
  13520.  
  13521. Have I got news for you!  I'm pleased to announce the upcoming
  13522.  
  13523.             Paradox Users Conference
  13524.             September 26 - 29, 1993
  13525.             Walt Disney World Swan Hotel
  13526.             Lake Buena Vista, Florida
  13527.  
  13528. This conference, set on the grounds of Disney World, is likely to be
  13529. closer in size (and tone) to the original Paradox conference in Monterey,
  13530. anticpating somehwere between 900 and 1500 people.
  13531.  
  13532. The conference is devoted exclusively to Paradox and Paradox for
  13533. Windows, with sessions for both end users and developers.
  13534.  
  13535. Topics include interactive Paradox and Paradox for Windows, PAL and
  13536. ObjectPAL programming, and multiuser/Client-Server issues.  Discover
  13537. sophisticated Paradox 4.0 programming techniques.  Gain an understanding
  13538. of the Paradox for Windows programming environment.
  13539.  
  13540. Share experiences with Developers from around the world.
  13541.  
  13542. The instructors are world class, some of the best known and highly
  13543. rated in the industry (both for their technical expertise and teaching
  13544. abilities).  In alphabetical order:
  13545.  
  13546.    Luke Chung          Mark Pauker
  13547.    Joe Clark           Greg Salcedo
  13548.    Tim Colling         Ken Schachat
  13549.    Dan Ehrmann         Kevin Smith
  13550.    Joe Fung            Martin Rudy
  13551.    Jim Kocis           Ben Tandowski
  13552.    Dan Paolini         Bill Todd
  13553.                        Alan Zenreich
  13554.  
  13555. Although this is an independant conference, it has Borland's support.
  13556. Borland International will be giving the Keynote address, and
  13557. several Borland speakers will present technical sessions.
  13558.  
  13559. The registration fee is $895.00 per person, however an Early-Bird
  13560. registration fee of only $795.00 has been extended through mid August.
  13561. Space is limited, so register early!
  13562.  
  13563. The room rate is $130 per night (a pretty good deal considering Microsoft
  13564. held their Tech-Ed conference in this hotel and the room rate was $180
  13565. per night).
  13566.  
  13567. For additional information, contact:
  13568.  
  13569.    The Paradox Users Conferene Hotline
  13570.  
  13571.    800-942-8872
  13572.    203-261-6227
  13573.    Fax 203-261-3884
  13574.  
  13575.    731 Main Street, Suite C-3
  13576.    Monroe, CT 06468
  13577.  
  13578.  
  13579. I hope to see lots of you there!!
  13580.  
  13581. #: 34142 S1/Miscellaneous
  13582.     09-Jun-93  15:06:21
  13583. Sb: Date Conversion problems
  13584. Fm: Smits Paul 100270,655
  13585. To: sysop (X)
  13586.  
  13587. Hello,
  13588.  
  13589. I'm having real troubles, and nobody seems to be interested!
  13590. I've posted this before (message: 32453) but it seems to be
  13591. disappeared.
  13592.  
  13593. I have "date conversion" problems. Can you please help?
  13594.  
  13595. I have a table, and (part of) the key is of type date.  I have made a
  13596. method (listing follows) that displays only part of it (with specific date).
  13597.  
  13598. In windows I specified the format D/M/Y. I also did this in the ODAPI
  13599. (SYSTEM|FORMATS|DATE|...). I've tried to change this last one.
  13600. I couldn't observe any effect. What is the use?
  13601.  
  13602. My table displays (correctly) D/M/Y. The sort order proofs it.
  13603. Now what is wrong?
  13604. 1) The msgInfo Procedure displays M/D/Y (wrong).
  13605. 2) The Filter doesn't work (it selects all rows of the table).
  13606. 3) The Order/Range of the form is filled in: 011893 (very wrong).
  13607.  
  13608. Funny effect: if I change date into 01/02/93 in the method. I get all rows
  13609. correctly  (for 1 feb 93).  But I can't do this for 18 jan 93: The method
  13610. won't execute.
  13611.  
  13612. ============= Start listing method ===============
  13613. method depart(var eventInfo MoveEvent)
  13614.   var
  13615.     tblObj UIObject
  13616.     dag Date
  13617.   endVar
  13618.  
  13619.   dag=Date("01/18/93")
  13620.   if tblObj.attach ("PJTIJD") then
  13621.     message ("Aantal dagen:", Number (Date("01/20/93")-dag)) ; Displays 2.00
  13622.     tblObj.setFilter ("AG", dag, dag)
  13623.     msgInfo ("Total recrods for dag "+ String (dag), tblObj.nRecords ())
  13624.   else
  13625.     msgStop ("Sorry","Can't attach to table.")
  13626.   endIf
  13627. endmethod
  13628. =============== End listing method ===============
  13629.  
  13630. #: 34149 S4/Forms
  13631.     09-Jun-93  15:34:23
  13632. Sb: Forms in Folder Bug?
  13633. Fm: Marlene Penry 71202,341
  13634. To: sysop (X)
  13635.  
  13636. Hi - I'm looking for more information on a problem I ran into.  I created a
  13637. simple dialog form with one fillin value and
  13638. an OK and Cancel button.  The OK pushbutton method runs a query and report.
  13639. Everything's fine when I
  13640. run this form from a File/Open.  I put the form in the Folder, double click on
  13641. it, and it starts up the client's
  13642. copy of PerForm Plus software!!!
  13643.  
  13644.  In talking to fellow developers I was told this was a "known bug", though I
  13645. can't find anything about it on this forum.  The suggested workaround is to
  13646. launch the form from a script,
  13647. putting the script in the Folder.  I haven't been back to the client site yet
  13648. to try this.  But I would like to go
  13649. "armed" with as much information as possible on this problem so I can attempt
  13650. to troubleshoot it if the
  13651. workaround doesn't work.  Is there a Tech Fax sheet or anything like that on
  13652. this problem?  Please
  13653. enlighten me!
  13654.  
  13655. Thanks,
  13656.  
  13657. Marlene Penry
  13658.  
  13659. #: 34161 S4/Forms
  13660.     09-Jun-93  16:07:22
  13661. Sb: Paradox Multi-Forms
  13662. Fm: Bob Dufresne 72000,2324
  13663. To: ALL
  13664.  
  13665. I have a main screen (Form1) where program options are chosen via menus. A
  13666. data entry screen (Form2) is opened for basic vendor input. A summary list
  13667. (Form3) is opened thru a pushbutton method listing vendor names and numbers.
  13668.  
  13669. My problem is that on a cancel in Form3, Form2 is also closed, leaving me with
  13670. Form1. My code is as follows:
  13671.  
  13672.         ; from main menu
  13673.          Form2.open(formName)
  13674.         choice = Form2.wait()
  13675.         Form2.close()
  13676.  
  13677.         ; from second form
  13678.         method pushButton::QuickList(...)
  13679.                 Form3.open(formName)
  13680.                 choice = Form3.wait()
  13681.                 Form3.close()
  13682.  
  13683. Any suggestions would be appreciated.
  13684.  
  13685. #: 34165 S4/Forms
  13686.     09-Jun-93  16:25:16
  13687. Sb: #Create dynamic combo box
  13688. Fm: Gregg Maggioli 71514,3202
  13689. To: sysop (X)
  13690.  
  13691. Dear Whoever can help!
  13692.  
  13693.         I designed an information system and am using Paradox for Windows to
  13694. implement it.  I have 5-6 years experience working with various database
  13695. software.  The last project I used MS Access  and decided to use Paradox for
  13696. this project because of the power of ObjectPAL.  What I am trying to
  13697. accomplish in Paradox is a dynamic combo box like the one in Access where you
  13698. can base the values displayed on a query or a field in a table. It is not
  13699. obvious to me how to do this.  From what I can tell the combo boxs can only
  13700. contain a static list that cannot be based upon queries or tables.  Is there
  13701. an easy way to accomplish a dynamic combo box in Paradox for Windows?
  13702.  
  13703.  
  13704.  
  13705. Thanks Gregg M.
  13706.  
  13707. * Reply:  34268
  13708.  
  13709. #: 34268 S4/Forms
  13710.     09-Jun-93  22:25:00
  13711. Sb: #34165-Create dynamic combo box
  13712. Fm: Richard Wagner (TeamB) 71333,2031
  13713. To: Gregg Maggioli 71514,3202
  13714.  
  13715. Gregg,
  13716.  
  13717. Look on pages 277-78 of the ObjectPAL developer's guide. Essentially, you want
  13718. to put one line in the open event of the List object of the drop-down edit
  13719. box:
  13720.  
  13721.                self.DataSource = "[TableName.FieldName]"
  13722.  
  13723.                                                        Richard Wagner
  13724.  
  13725. #: 34168 S5/Reports
  13726.     09-Jun-93  16:41:41
  13727. Sb: #Printing draft quality
  13728. Fm: ERIC HASON 72072,3134
  13729. To: Scott Arnett
  13730.  
  13731. Scott,
  13732.  
  13733. I am trying to print in draft mode from a report on an Epson FX-286.
  13734.  
  13735. I set the printer into draft from the printer control box and the printer
  13736. itself is in draft mode.
  13737.  
  13738. It still prints NLQ.  What am I doing wrong, how can I correct it?
  13739.  
  13740. Thanks,
  13741.  
  13742. Eric Hason
  13743.  
  13744. * Reply:  34264
  13745.  
  13746. #: 34264 S5/Reports
  13747.     09-Jun-93  21:36:38
  13748. Sb: #34168-Printing draft quality
  13749. Fm: Michael Lant 71643,540
  13750. To: ERIC HASON 72072,3134
  13751.  
  13752. Windows takes over your printer and prints in whatever mode you have set in
  13753. your Windows printer setup. To change this, you must do so through the Windows
  13754. printer setup.
  13755.  
  13756. Michael Lant
  13757.  
  13758. #: 34179 S11/Using ObjectPAL
  13759.     09-Jun-93  17:38:04
  13760. Sb: #canDepart works too well
  13761. Fm: Leonard Medal 75410,3060
  13762. To: Sysop (X)
  13763.  
  13764. I have a form on which there is one field object that accepts input.  This is
  13765. not a field from a table but was drawn directly on the form with the field
  13766. tool.  There are also two buttons on the form.  One is a button that runs a
  13767. query and then a report based on the input in the field.  The other button is
  13768. a cancel button that uses the pushButton method with a formReturn() to return
  13769. to a calling form.
  13770.  
  13771. The user can make an entry in the field then press the report button to run
  13772. the report.  Or, the user can press the cancel button if they decide not to
  13773. run the report.
  13774.  
  13775. The field entry is for a month of the year so I want to check that the entry
  13776. is valid (1-12) before I run the report.  So I put in this test code in the
  13777. built-in canDepart method for the field just to test for one valid month.  (I
  13778. know that later I will need to change this to accomodate months 1 thru 12 but
  13779. it good enough to test.)
  13780.  
  13781. if self.value <> "1" then
  13782.    beep()
  13783.    msgInfo("Error", "Invalid Month")
  13784.    eventInfo.setErrorCode(CanNotDepart)
  13785. endif
  13786.  
  13787. This works fine if I try to press the report button while an invalid month is
  13788. in the month field.  It wont let me run the report without a valid entry in
  13789. the field.  The problem is that it also works all too well when I try to
  13790. cancel the form with the other button.  I want to be able to leave the form
  13791. when the cancel button is pressed even if I have an invalid month in the entry
  13792. field.  How can I make this happen?  Thanks.
  13793.  
  13794. * Reply:  34259
  13795.  
  13796. #: 34259 S11/Using ObjectPAL
  13797.     09-Jun-93  21:05:03
  13798. Sb: #34179-canDepart works too well
  13799. Fm: Rod  Niner 72673,2130
  13800. To: Leonard Medal 75410,3060
  13801.  
  13802. Im not sure if this will help but I use this line to prevent CanDepart from
  13803. being triggered by the MoveTo method:
  13804. if not (eventInfo.reason()=PalMove) then ;if buttons on form generate move let
  13805. move
  13806.         eventInfo.setErrorCode(CanNotDepart)
  13807. endIf
  13808.  
  13809. #: 34242 S9/Learning ObjectPAL
  13810.     09-Jun-93  20:36:34
  13811. Sb: #Getting year from date
  13812. Fm: Jim Wynn 70731,1677
  13813. To: All
  13814.  
  13815. I'm attempting to write a script that will pull the year value out of a date
  13816. field (Transplant date) and insert the year into a blank field (Transplant
  13817. year) in the same record, and have tried to implement a SCAN to do so.  My
  13818. code, typically, doesn't work.
  13819.  
  13820. Here's what I've tried have so far:
  13821.  
  13822.        method run(var eventInfo Event)
  13823.  
  13824.        var
  13825.                xplantsTC TCursor
  13826.        endVar
  13827.  
  13828.        xplantsTC.open("xp.db")
  13829.        xplantsTC.edit()
  13830.  
  13831.        scan xplantsTC
  13832.                xplantsTC.Transplant year = year("Transplant date")
  13833.        endscan
  13834.  
  13835.        xplantsTC.endedit()
  13836.        xplantsTC.close()
  13837.        endmethod
  13838.  
  13839. Any suggestions?
  13840.  
  13841. * Reply:  34282
  13842.  
  13843. #: 34282 S9/Learning ObjectPAL
  13844.     09-Jun-93  23:08:35
  13845. Sb: #34242-Getting year from date
  13846. Fm: Les Gainous 72731,146
  13847. To: Jim Wynn 70731,1677
  13848.  
  13849. RE:  xplantsTC.Transplant year = year("Transplant date")
  13850.  
  13851. Jim,
  13852.  
  13853. Try this:
  13854.  
  13855.    xplantsTC."Transplant year" = year("Transplant date")
  13856.  
  13857.  
  13858.  
  13859. goodLuck()  Les  72731,146
  13860.  
  13861. #: 34260 S10/ObjectPAL Environ.
  13862.     09-Jun-93  21:28:51
  13863. Sb: #Business days passed
  13864. Fm: Jim White 73530,207
  13865. To: All
  13866.  
  13867. Has anyone got any ideas as to how I might calculate business days passed in a
  13868. field under reports in PDOX/WIN?
  13869. I have a client who wishes to document the number of business days passed
  13870. between the opening of a service call and its close.  The problem that I am
  13871. having difficulty with is determining how to calculate out weekends, and,
  13872. possibly, holidays, from this equation.
  13873. Any suggestions would be very much appreciated.
  13874. Thanks,
  13875. ==>Jim
  13876.  
  13877. * Reply:  34283
  13878.  
  13879. #: 34283 S10/ObjectPAL Environ.
  13880.     09-Jun-93  23:08:46
  13881. Sb: #34260-Business days passed
  13882. Fm: Les Gainous 72731,146
  13883. To: Jim White 73530,207
  13884.  
  13885. RE:  how I might calculate business days passed
  13886.  
  13887. Jim,
  13888.  
  13889. This is very rough "pseudocode" (in other words, the syntax may not be
  13890. 100%).  This is only one way to do it using ObjectPAL.
  13891.  
  13892. {-----------------------------------------------------------------}
  13893. elpBusDays = 0
  13894. numDays = endDate - beginDate {assuming these dates are valid}
  13895.  
  13896. for i from 1 to numDays
  13897.   if subStr((dow(beginDate + i)),1,1) <> "S" then
  13898.     {the day must not start with the letter S, so lets count it.
  13899.      caveat: weekday holidays are not checked!}
  13900.     elpBusDays = elpBusDays + 1
  13901.   endIf
  13902. endFor
  13903.  
  13904. stmt = "The number of elapsed business days is:" + strVal(elpBusDays)
  13905. msgInfo("Result",stmt)
  13906.  
  13907. {-----------------------------------------------------------------}
  13908.  
  13909. goodLuck()  Les  72731,146
  13910.  
  13911. #: 34280 S6/Queries
  13912.     09-Jun-93  23:06:04
  13913. Sb: #34079-Query Answer Alignment
  13914. Fm: Richard Biffl 73607,3043
  13915. To: Ben Holton (Sysop) 76704,32
  13916.  
  13917. >The only problem with the ANSWER.TV file being deleted is that when someone
  13918. >performs the same query multiple times, he would presumeably want the
  13919. >properties of that answer table to be the same as well.  If the .TV file
  13920. >were deleted every time a new answer table was created, the saved >properties
  13921. would be deleted as well.
  13922.  
  13923. Is someone wanted a query to produce an ANSWER table with particular
  13924. properties, he could define the ANSWER table properties and save them with the
  13925. query, couldn't he?  Then an ANSWER.TV file wouldn't be necessary and other
  13926. queries would run without interference, right?
  13927.  
  13928.  
  13929.